
Public Member Functions | |
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 () |
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... | |
Static Public Member Functions | |
static bool | operator!= (HPS.ShapeElement a, HPS.ShapeElement b) |
static bool | operator== (HPS.ShapeElement a, HPS.ShapeElement b) |
![]() | |
static IntPtr | ClassID< T > () |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
Detailed Description
The ShapeElement class is a user space object. It is the base class for all shape elements.
Constructor & Destructor Documentation
|
inline |
The default constructor creates an empty ShapeElement object.
|
inline |
The copy constructor creates a new ShapeElement object that contains the same settings as the source ShapeElement.
- Parameters
-
in_that The source ShapeElement to copy.
Member Function Documentation
|
inline |
Check if the source ShapeElement is equivalent to this ShapeElement.
- Parameters
-
in_that The source ShapeElement to compare to this ShapeElement.
- Returns
- true if the objects are equivalent, false otherwise.
|
inline |
Copies the source ShapeElement into this ShapeElement.
- Parameters
-
in_that The source ShapeElement to copy.
|
inline |
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
-
in_state The disjointed state for this ShapeElement.
|
inline |
Sets the fill mode for this ShapeElement. All shape elements default to being filled, except for Lines which cannot be filled.
- Parameters
-
in_state The fill mode for this ShapeElement.
|
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.
|
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