Glass

Glass layer demo

Description

This clock demonstrates using of the glass attribute. Special semi-transparent image imitates hotspots and shadow from the bezel over face and hands.

Anatomy

Round face, 3 central hands and semi-transparent glass image with hotspots and shadow.

XML Settings File

<?xml version="1.0" encoding="utf-8"?>
<TrueAnalogClock
    face="glass_face"
    glass="glass_glass"
    useSystemTime="true">

    <hand
        image="glass_hand_hour"
        axisFacePoint="497:497"
        axisPoint="29:281"
        shadow="true"
        shadowOffset="5:5"
        type="Hour"/>

    <hand
        image="glass_hand_minute"
        axisFacePoint="497:497"
        axisPoint="21:404"
        shadow="true"
        shadowOffset="7:7"
        type="Minute"/>

    <hand
        image="glass_hand_second"
        axisFacePoint="497:497"
        axisPoint="14:409"
        shadow="true"
        shadowOffset="9:9"
        type="Second"/>

</TrueAnalogClock>

Manual code

No.