Ticks Facelet
The Ticks Facelet renders circular ticks that can be used as part of a clock or gauge face.
The Tick format is a text of single or ranged ticks like this:
190,r,0,30,5 30-90@30,r,0,50,10
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,i,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 spaces.
The ticks are drawn in the order of the path.
Tick Shapes
Parameter | Shape | Description |
---|---|---|
|
Rectangle |
|
|
Trapezoid |
|
|
Rounded Rectangle |
|
|
Double Rectangle |
|
|
Oval |
|
|
Triangle |
|
|
Tri Rectangle |
|
|
Flipped Triangle |
|
Examples
0-359@7.5,r,0,25,8
draws ticks every 7.5° starting at 0° with a rectangle shape of 25 mil length, 8 mil width and a zero offset to the outer diameter.
30,r,0,50,10 90,d,0,50,10 180,o,0,50,10
draws ticks at 30°, 90° and 180° degrees with different shapes.