The ShapeElement class is a user space object. It is the base class for all shape elements.
More...
|
override void | Dispose () |
|
override bool | Equals (System.Object obj) |
|
bool | Equals (HPS.ShapeElement in_that) |
| Check if the source ShapeElement is equivalent to this ShapeElement. More...
|
|
override int | GetHashCode () |
|
override HPS.Type | ObjectType () |
| This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object. More...
|
|
void | Set (HPS.ShapeElement in_that) |
| Copies the source ShapeElement into this ShapeElement. More...
|
|
HPS.ShapeElement | SetDisjointed (bool in_state) |
| 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. More...
|
|
HPS.ShapeElement | SetFill (bool in_state) |
| Sets the fill mode for this ShapeElement. All shape elements default to being filled, except for Lines which cannot be filled. More...
|
|
| ShapeElement () |
| The default constructor creates an empty ShapeElement object. More...
|
|
| ShapeElement (HPS.ShapeElement in_that) |
| The copy constructor creates a new ShapeElement object that contains the same settings as the source ShapeElement. More...
|
|
bool | ShowDisjointed (out bool out_state) |
| 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. More...
|
|
bool | ShowFill (out bool out_state) |
| Shows the fill mode for this ShapeElement. All shape elements default to being filled, except for Lines which cannot be filled. More...
|
|
virtual bool | Empty () |
| Indicates whether this object has any values set on it. More...
|
|
IntPtr | GetClassID () |
|
IntPtr | GetInstanceID () |
| Returns an identifier that can be used to identify which instance of a class an object is. Different keys and controls will return the same value if they are backed by the same database resource. More...
|
|
bool | HasType (HPS.Type in_mask) |
| This function indicates whether this Object has the given Type mask. More...
|
|
| Object (HPS.Object that) |
|
virtual void | Reset () |
| Resets this object to its initial, uninitialized state. More...
|
|
virtual HPS.Type | Type () |
| This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types. More...
|
|
|
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.
HPS.ShapeElement.ShapeElement |
( |
| ) |
|
|
inline |
The default constructor creates an empty ShapeElement object.
The copy constructor creates a new ShapeElement object that contains the same settings as the source ShapeElement.
- Parameters
-
Check if the source ShapeElement is equivalent to this ShapeElement.
- Parameters
-
- Returns
- true if the objects are equivalent, false otherwise.
override HPS.Type HPS.ShapeElement.ObjectType |
( |
| ) |
|
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Object.
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
-
Sets the fill mode for this ShapeElement. All shape elements default to being filled, except for Lines which cannot be filled.
- Parameters
-
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.
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