Home > comp > gb.cairo > cairo > dash 
 fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
Cairo.Dash (gb.cairo)
Static Property Dash As Float[]

Returns or sets the dash pattern to be used by Cairo.Stroke.

A dash pattern is specified by dashes, an array of positive values. Each value provides the length of alternate "on" and "off" portions of the stroke.

Each "on" segment will have caps applied as if the segment were a separate sub-path. In particular, it is valid to use an "on" length of 0.0 with Cairo.LineCapRound or Cairo.LineCapSquare in order to distributed dots or squares along a path.

The length values are in user-space units as evaluated at the time of stroking. This is not necessarily the same as the user space when this property is set.

See also

DashOffset