|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
|
bool | cMemOwn |
|
HandleRef | cptr |
|
The ShapeElement class is a user space object. It is the base class for all shape elements.
◆ ShapeElement() [1/2]
HPS.ShapeElement.ShapeElement |
( |
| ) |
|
|
inline |
The default constructor creates an empty ShapeElement object.
◆ ShapeElement() [2/2]
The copy constructor creates a new ShapeElement object that contains the same settings as the source ShapeElement.
- Parameters
-
◆ Equals()
Check if the source ShapeElement is equivalent to this ShapeElement.
- Parameters
-
- Returns
- true if the objects are equivalent, false otherwise.
◆ ObjectType()
override HPS.Type HPS.ShapeElement.ObjectType |
( |
| ) |
|
|
inlinevirtual |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Object.
◆ Set()
◆ SetDisjointed()
Sets the disjointed state for this ShapeElement. Two shape elements of the same type are automatically joined together if they appear consecutively in the shape element array. LineShapeElement objects are always disjointed.
- Parameters
-
◆ SetFill()
Sets the fill mode for this ShapeElement. All shape elements default to being filled, except for Lines which cannot be filled.
- Parameters
-
◆ ShowDisjointed()
bool HPS.ShapeElement.ShowDisjointed |
( |
out bool |
out_state | ) |
|
|
inline |
Shows the disjointed state for this ShapeElement. Two shape elements of the same type are automatically joined together if they appear consecutively in the shape element array. LineShapeElement objects are always disjointed.
- Parameters
-
out_state | Whether this shape element will be disjointed from the previous one. |
- Returns
- true if a disjointed state was set, false otherwise.
◆ ShowFill()
bool HPS.ShapeElement.ShowFill |
( |
out bool |
out_state | ) |
|
|
inline |
Shows the fill mode for this ShapeElement. All shape elements default to being filled, except for Lines which cannot be filled.
- Parameters
-
out_state | Whether faces are drawn for this shape element. |
- Returns
- true if a fill mode was set, false otherwise.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.ShapeElement.cs