PolygonShapeElement
- class HPS.PolygonShapeElement : public HPS.ShapeElement
The PolygonShapeElement class is a user space object. It is used to define polygon elements to make up shapes for text backgrounds.
Public Functions
- override void Dispose ()
- 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.
- PolygonShapeElement ()
The default constructor creates an empty PolygonShapeElement object.
- PolygonShapeElement (HPS.PolygonShapeElement in_that)
The copy constructor creates a new PolygonShapeElement object that contains the same settings as the source PolygonShapeElement.
- Param in_that
The source PolygonShapeElement to copy.
- PolygonShapeElement (HPS.ShapeElement in_that)
This constructor creates a PolygonShapeElement object that contains the same settings as the source ShapeElement. The copy will only be successful if the source shape element is really an upcast of a polygon shape element. Otherwise the copy will fail and the resulting PolygonShapeElement will be invalid.
- Param in_that
The source ShapeElement to copy.
- PolygonShapeElement (HPS.ShapePoint[] in_points)
This constructor creates a PolygonShapeElement with the specified point array.
- Param in_points
The points for the polygon.
- HPS.PolygonShapeElement SetPoints (HPS.ShapePoint[] in_points)
Sets the points for this PolygonShapeElement.
- Param in_points
The points for the polygon.
- bool ShowPoints (out HPS.ShapePoint[] out_points)
Shows the points for this PolygonShapeElement.
- Param out_points
The points for the polygon.
- Return
true if points were set, false otherwise.