|
||
SilverSharp.POLYGON_NODE |
|
|||||||||||||||||||||
Structure |
A SilverSharp.POLYGON_NODE object stores information relevant to a SilverScreen polygon and polyline primitive
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
Properties |
The following read-only properties mimic the purpose of their counter-parts in the SilverC POLYGON_NODE:
The following read-only properties extend POLYGON_NODE for SilverSharp:
|
|
||||||||||||||||||||
Members |
|
|
||||||||||||||||||||
Remarks |
A polygon can be differentiated from a polyline by checking the SilverSharp.PRIM_NODE properties IsPolygon or IsPolyline. Also, the IsClosed property indicates a polygon.
A SilverSharp.POLYGON_NODE inherits from a SilverSharp.PRIM_NODE and therefore includes those properties and methods as well; for instance, Path, Type, and PrimBits are inherited properties of a SilverSharp.PRIM_NODE.
Note: A SilverSharp.POLYGON_NODE is a SilverSharp.PRIM_NODE, but the reverse is not true.
|
|
||||||||||||||||||||
See Also |
Primitive Types, SilverC POLYGON_NODE, PRIM_NODE
|
|
||||||||||||||||||||
Example |
The SilverSharp.POLYGON_NODE was extended to contain enumerators for child primitives and phantoms. It also inherits the Holes enumerator from SilverSharp.PRIM_NODE. The following example shows how to use the Children enumerator:
|
|