ShapeElement
- class HPS.ShapeElement : public HPS.Object
The ShapeElement class is a user space object. It is the base class for all shape elements.
Subclassed by HPS.AnchorShapeElement, HPS.CircleShapeElement, HPS.CircularArcShapeElement, HPS.EllipseShapeElement, HPS.EllipticalArcShapeElement, HPS.LeaderLineClippingElement, HPS.LineShapeElement, HPS.PolygonShapeElement
Public Functions
- override void Dispose ()
- bool Equals (HPS.ShapeElement in_that)
Check if the source ShapeElement is equivalent to this ShapeElement.
- Param in_that
The source ShapeElement to compare to this ShapeElement.
- Return
true if the objects are equivalent, false otherwise.
- override bool Equals (Object obj)
- 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).
- Return
The declared type of the object in question, which may differ from the true, underlying type.
- void Set (HPS.ShapeElement in_that)
Copies the source ShapeElement into this ShapeElement.
- Param in_that
The source ShapeElement to copy.
- 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.
- Param in_state
The disjointed state for this ShapeElement.
- 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.
- Param in_state
The fill mode for this ShapeElement.
- ShapeElement ()
The default constructor creates an empty ShapeElement object.
- ShapeElement (HPS.ShapeElement in_that)
The copy constructor creates a new ShapeElement object that contains the same settings as the source ShapeElement.
- Param in_that
The source ShapeElement to copy.
- 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.
- Param out_state
Whether this shape element will be disjointed from the previous one.
- Return
true if a disjointed state was set, false otherwise.
- 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.
- Param out_state
Whether faces are drawn for this shape element.
- Return
true if a fill mode was set, false otherwise.
Public Static Functions
- bool operator!= (HPS.ShapeElement a, HPS.ShapeElement b)
- bool operator== (HPS.ShapeElement a, HPS.ShapeElement b)