The OpenD Programming Language

IRenderingContext2D.setLineDash

Sets the current line dash pattern (as used when stroking). The argument is an array of distances for which to alternately have the line on and the line off.

interface IRenderingContext2D
void
setLineDash
(
float[] segments = []
)

Parameters

segments float[]

array of distances for which to alternately have the line on and the line off.

Meta