Pen.DashOffset

Pen.DashOffset property

Gets or sets the distance from the start of a line to the beginning of a dash pattern.

public float DashOffset { get; set; }

Return Value

The distance from the start of a line to the beginning of a dash pattern.

Exceptions

exceptioncondition
ArgumentExceptionThe DashOffset property is set on an immutable Pen, such as those returned by the Pens class.

See Also