Table of Contents

Class PolyLineExtensions

public static class PolyLineExtensions
Inheritance
PolyLineExtensions

Methods

Closed(ref PolyLine, bool)

If true, a line connecting the first and last points is also drawn.

public static ref PolyLine Closed(this ref PolyLine @this, bool closed = true)

Parameters

this PolyLine
closed bool

Returns

PolyLine

Ref(PolyLine)

Returns a reference to the previously created PolyLine visual.
If you need to keep a reference to a long-lived visual, this will allow you to modify or delete the visual at some point in the future.

Important: only use this directly after creating a visual, as it may not be valid beyond that.

public static VisualRef<PolyLine> Ref(this PolyLine @this)

Parameters

this PolyLine

Returns

VisualRef<PolyLine>

SetDefault(ref PolyLine)

public static ref PolyLine SetDefault(this ref PolyLine @this)

Parameters

this PolyLine

Returns

PolyLine