Bewerken

Delen via


CGContext.SetLineDash Method

Definition

Overloads

SetLineDash(nfloat, nfloat[])

The pattern to be used for drawing dashed lines.

SetLineDash(nfloat, nfloat[], Int32)

SetLineDash(nfloat, nfloat[])

The pattern to be used for drawing dashed lines.

public void SetLineDash (nfloat phase, nfloat[] lengths);
member this.SetLineDash : nfloat * nfloat[] -> unit

Parameters

phase
nfloat

Distance from the start, in user space units, where the dash pattern starts.

lengths
nfloat[]

The lengths, in user space units, of painted and unpainted segments. If null, no dash pattern is drawn.

Applies to

SetLineDash(nfloat, nfloat[], Int32)

public void SetLineDash (nfloat phase, nfloat[] lengths, int n);
member this.SetLineDash : nfloat * nfloat[] * int -> unit

Parameters

phase
nfloat
lengths
nfloat[]
n
Int32

Applies to