Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
Protected Attributes |
Properties |
List of all members
HPS.ShapePoint Class Reference
The ShapePoint class is a point used in shape definitions. It is a 2d point. More...
Inheritance diagram for HPS.ShapePoint:

Public Member Functions | |
virtual void | Dispose () |
override bool | Equals (System.Object obj) |
bool | Equals (HPS.ShapePoint in_that) |
This function is used to check an object for equivalence to this. More... | |
override int | GetHashCode () |
ShapePoint (HPS.ShapeCoordinate in_x, HPS.ShapeCoordinate in_y) | |
Construct a new ShapePoint from two ShapeCoordinate objects. More... | |
ShapePoint (float in_x, float in_y) | |
Construct a new ShapePoint, with margins computed automatically This is equivalent to using a ShapePoint constructed with the following two ShapeCoordinates ShapeCoordinate(A, 0, FloatArray(1, A)) ShapeCoordiante(0, B, FloatArray(1, B)) More... | |
Static Public Member Functions | |
static bool | operator!= (HPS.ShapePoint a, HPS.ShapePoint b) |
static bool | operator== (HPS.ShapePoint a, HPS.ShapePoint b) |
Protected Member Functions | |
virtual void | deleteCptr () |
Protected Attributes | |
bool | cMemOwn |
HandleRef | cptr |
Properties | |
HPS.ShapeCoordinate | x [get, set] |
HPS.ShapeCoordinate | y [get, set] |
Detailed Description
The ShapePoint class is a point used in shape definitions. It is a 2d point.
Constructor & Destructor Documentation
|
inline |
Construct a new ShapePoint from two ShapeCoordinate objects.
- Parameters
-
in_x A ShapeCoordinate which will be used in the x direction. in_y A ShapeCoordinate which will be used in the x direction.
|
inline |
Construct a new ShapePoint, with margins computed automatically This is equivalent to using a ShapePoint constructed with the following two ShapeCoordinates ShapeCoordinate(A, 0, FloatArray(1, A)) ShapeCoordiante(0, B, FloatArray(1, B))
- Parameters
-
in_x A normalized distance over the horizontal text bounds and margins in_y A normalized distance over the vertical text bounds and margins.
Member Function Documentation
|
inline |
This function is used to check an object for equivalence to this.
- Parameters
-
in_that The object to compare to this.
- Returns
- true if the objects are equivalent, false otherwise.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.ShapePoint.cs