More...

Inheritance diagram for HPS.LineShapeElement:
HPS.ShapeElement HPS.Object

Public Member Functions

override void Dispose ()
 
 LineShapeElement ()
 The default constructor creates an empty LineShapeElement object. More...
 
 LineShapeElement (HPS.ShapeElement in_that)
 This constructor creates a LineShapeElement 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 line shape element. Otherwise the copy will fail and the resulting LineShapeElement will be invalid. More...
 
 LineShapeElement (HPS.LineShapeElement in_that)
 The copy constructor creates a LineShapeElement object that contains the same settings as the source LineShapeElement. More...
 
 LineShapeElement (HPS.ShapePoint[] in_points)
 This constructor creates a LineShapeElement with the specified points. More...
 
 LineShapeElement (HPS.ShapePoint in_start, HPS.ShapePoint in_end)
 This constructor creates a two-point LineShapeElement with the specified points. More...
 
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...
 
HPS.LineShapeElement SetPoints (HPS.ShapePoint[] in_points)
 Sets the points for this LineShapeElement. More...
 
bool ShowPoints (out HPS.ShapePoint[] out_points)
 Shows the points for this LineShapeElement. More...
 
- Public Member Functions inherited from HPS.ShapeElement
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...
 
- Public Member Functions inherited from HPS.Object
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...
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.ShapeElement
override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()
 

Additional Inherited Members

- Static Public Member Functions inherited from HPS.ShapeElement
static bool operator!= (HPS.ShapeElement a, HPS.ShapeElement b)
 
static bool operator== (HPS.ShapeElement a, HPS.ShapeElement b)
 
- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()
 
- Protected Attributes inherited from HPS.Object
bool cMemOwn
 
HandleRef cptr
 

Detailed Description

The LineShapeElement class is a user space object. It is used to define line elements to make up shapes for text backgrounds.

Constructor & Destructor Documentation

◆ LineShapeElement() [1/5]

HPS.LineShapeElement.LineShapeElement ( )
inline

The default constructor creates an empty LineShapeElement object.

◆ LineShapeElement() [2/5]

HPS.LineShapeElement.LineShapeElement ( HPS.ShapeElement  in_that)
inline

This constructor creates a LineShapeElement 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 line shape element. Otherwise the copy will fail and the resulting LineShapeElement will be invalid.

Parameters
in_thatThe source ShapeElement to copy.

◆ LineShapeElement() [3/5]

HPS.LineShapeElement.LineShapeElement ( HPS.LineShapeElement  in_that)
inline

The copy constructor creates a LineShapeElement object that contains the same settings as the source LineShapeElement.

Parameters
in_thatThe source LineShapeElement to copy.

◆ LineShapeElement() [4/5]

HPS.LineShapeElement.LineShapeElement ( HPS.ShapePoint []  in_points)
inline

This constructor creates a LineShapeElement with the specified points.

Parameters
in_pointsThe points making up the line.

◆ LineShapeElement() [5/5]

HPS.LineShapeElement.LineShapeElement ( HPS.ShapePoint  in_start,
HPS.ShapePoint  in_end 
)
inline

This constructor creates a two-point LineShapeElement with the specified points.

Parameters
in_startThe start of the line.
in_endThe end of the line.

Member Function Documentation

◆ ObjectType()

override HPS.Type HPS.LineShapeElement.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.

◆ SetPoints()

HPS.LineShapeElement HPS.LineShapeElement.SetPoints ( HPS.ShapePoint []  in_points)
inline

Sets the points for this LineShapeElement.

Parameters
in_pointsThe points making up the line.

◆ ShowPoints()

bool HPS.LineShapeElement.ShowPoints ( out HPS.ShapePoint []  out_points)
inline

Shows the points for this LineShapeElement.

Parameters
out_pointsThe points for this line
Returns
true if points were set, false otherwise.

The documentation for this class was generated from the following file:
  • internals/hps_core/source/cs/HPS.LineShapeElement.cs