Span Helper Methods

From SDK
Jump to navigation Jump to search
Back.jpg

The following methods are used to convert a Span object to the specific span type


CastSpanToLineSpan( Span span)

Returns: a LineSpan object for the passed span object. The passed span objects .IsLineType property must be true.

span - Span - the span we are casting to a line


CastSpanToArcSpan( Span span)

Returns: a LineSpan object for the passed span object. The passed span objects. IsArcType property must be true.

span - Span - the span we are casting to an arc


CastSpanToBezierSpan( Span span)

Returns: aBezierSpan object for the passed span object. The passed span objects .IsBezierType property must be true.

span - Span - the span we are casting to a bezier





Back.jpg

References

Please Note: The base material for the contents found in this WiKi was sourced from Vectric Lua Interface for Gadgets, version 2.05, published September 12, 2018. by Vectric Ltd. Most current document from Vertric can be downloaded at Vertric Developer Information