Ticks Facelet

The Ticks Facelet renders circular ticks that can be used as part of a clock or gauge face.

Tick format:

190,r,0,30,5 30-90@30,r,0,50,10" // path in form of 0-354@60,r,l,w 30,d,r

Single tick

A single tick is defined by its angle in degree 0-360, its shape (r,n,d,o,t,f) and its dimensions (length, width, etc). All parameters are comma separated: angle,shape,offset,length,width, like 30,r,0,50,10.

Ranged ticks

Ranged ticks are defined by a start-end@step range of angles in degree, their shape (r,n,d,o,t,f) and their dimensions (length, width, etc). All parameters are comma separated: start-end@step,shape,offset,length,width, like 30-90@30,r,0,50,10. This draws three ticks at 30, 60, and 90 degrees.

Ticks Path

The ticks path is a string of tick definitions separated by a space. The ticks are drawn in the order of the path. The path is defined by the tick definitions, like 30,r,0,50,10 60,d,0,50,10 90,o,0,50,10.

Ticks Shapes

Parameter Shape Description

r,offset,length,width

Rect

o: Offset to outer diameter, l: length, w: width

`n,offset,length,width,rx,ry

Round Rect

o: Offset to outer diameter, l: length, w: width, rx, ry

d,offset,length,width

Double Rect

o: Offset to outer diameter, l: length, w: width

o,offset,length,width

Oval

o: Offset to outer diameter, l: length, w: width

t,offset,length,width

Triangle

o: Offset to outer diameter, l: length, w: width

f,offset,length,width

Flipped Triangle

o: Offset to outer diameter, l: length, w: width