Span Helper Methods: Difference between revisions
Jump to navigation
Jump to search
(Created page with "right|50px|link=Creating Vectors From Script right|50px|link=Creating Vectors From Script ==References== '''Please Note:'...") |
No edit summary |
||
Line 1: | Line 1: | ||
[[File:Back.jpg|right|50px|link=Creating Vectors From Script]] | [[File:Back.jpg|right|50px|link=Creating Vectors From Script]] | ||
[[Category:SDK]] | |||
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 '' | |||
Latest revision as of 20:23, 3 August 2021
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
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