Skip to main content

TcxPointBasedGeometryObject Class

The base class for persistent classes that store geometry-related information as a TPoint record.

Declaration

TcxPointBasedGeometryObject = class(
    TcxGeometryObject
)

Remarks

This class extends its ancestor with members that allow you to do the following:

  • Identify if stored values are zeros (IsEmpty).

  • Compare stored geometry information to a point (IsEqual).

  • Compare geometry information to its stored initial state (IsDefault).

  • Restore the initial geometry information (Reset).

Do not use the TcxPointBasedGeometryObject class directly. Use one of the following descendant classes instead:

  • TdxPoint (stores a point in pixel coordinates).
  • TcxSize (stores a visual object’s pixel dimensions).
See Also