class HPS.ShapePoint : public IDisposable

The ShapePoint class is a point used in shape definitions. It is a 2d point.

Public Functions

void Dispose ()
bool Equals (HPS.ShapePoint in_that)

This function is used to check an object for equivalence to this.

Param in_that

The object to compare to this.


true if the objects are equivalent, false otherwise.

override bool Equals (Object obj)
override int GetHashCode ()
ShapePoint ()
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))

Param in_x

A normalized distance over the horizontal text bounds and margins

Param in_y

A normalized distance over the vertical text bounds and margins.

ShapePoint (HPS.ShapeCoordinate in_x, HPS.ShapeCoordinate in_y)

Construct a new ShapePoint from two ShapeCoordinate objects.

Param in_x

A ShapeCoordinate which will be used in the x direction.

Param in_y

A ShapeCoordinate which will be used in the x direction.

ShapePoint (HPS.ShapePoint in_that)


HPS.ShapeCoordinate x { get; set; }
HPS.ShapeCoordinate y { get; set; }

Public Static Functions

bool operator!= (HPS.ShapePoint a, HPS.ShapePoint b)
bool operator== (HPS.ShapePoint a, HPS.ShapePoint b)