Back to Devexpress

TcxPointBasedGeometryObject Class

vcl-cxgeometry-6491db21.md

latest1.8 KB
Original Source

TcxPointBasedGeometryObject Class

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

Declaration

delphi
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).

Inheritance

TObject TPersistent TcxOwnedPersistent TcxOwnedInterfacedPersistent TcxLockablePersistent TcxGeometryObject TcxPointBasedGeometryObject

See Also

TcxPointDoubleBasedGeometryObject

TcxPointBasedGeometryObject Members

cxGeometry Unit