Hand XML Parameters

Complete set of XML attributes for clock hand

type
Type of hand.
Possible values: "Custom", "Month", "DayOfMonth", "DayOfWeek", "Hour24", "Hour", "Minute", "Second"
Default: "Custom"

image
Name of drawable resource for hand. Required parameter.
Default: ""

axisPoint
Coordinates of the axis in the hand image coordinates.
Format: "X:Y"
Default: "0:0"

axisFacePoint
Coordinates of the axis in the face image coordinates.
Format: "X:Y"
Default: "0:0"

angleOffset
Start angle relatively to zero value (12 o'clock position).
Format: "X", where X is a float value
Default: "0"

angleRange
Angle range.
Format: "X", where X is a float value
Default: "360"

value
Value.
Format: "X", where X is a float value
Default: "0"

valueOffset
Start value.
Format: "X", where X is a float value
Default: "0"

valueRange
Range of value.
Format: "X", where X is a float value
Default: "100"

jumping
If this parameter is true the hand is in jumping mode when it jumps between integer values.
Possible values: "true" and "false"
Default: "false"

time
Current time in milliseconds.
Format: "X", where X is an integer value
Default: "0"

timeOffset
Time offset in milliseconds.
Format: "X", where X is an integer value
Default: "0"

useSystemTime
If this parameter is true the value of standard hand type is calculated from the current system time.
Possible values: "true" and "false"
Default: "false"

shadow
If this parameter is true hand draws its shadow itself.
Possible values: "true" and "false"
Default: "false"

shadowColor
Color of the shadow in standard integer format with or without alpha.
Format: "X", where X is an integer value
Default: "0x80000000"

shadowBlurRadius
Blur radius for the hand shadow.
Format: "X", where X is an integer value
Default: "10"

shadowOffset
Offset of the shadow relatively to the hand position.
Format: "X:Y"
Default: "0:0"

underFace
If this parameter is true the hand is drawn before drawing face.
Possible values: "true" and "false"
Default: "false"

counterclockwise
If this parameter is true the hand is rotating in counterclockwise direction.
Possible values: "true" and "false"
Default: "false"

hidden
If this parameter is true the clock does not draw this hand.
Possible values: "true" and "false"
Default: "false"

name
Name of the hand. The name of hand can be used for finding hands in the list using findHands method of TrueAnalogClockClass. Several hands in the clock can have the same name.
Default: ""