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 (if the object is derived, this does not give the true type of the derived 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 the object's database handle, which can be used to determine which instance of a class the object is. For example, controls are simply aliases for segment keys that group related functions. Therefore, a SegmentKey and all of its controls would return the same instance id. 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.
◆ 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