Skip to main content

TcxGeometryObject Class

The base class for persistent classes that store geometry-related information.

Declaration

TcxGeometryObject = class(
    TcxLockablePersistent
)

Remarks

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

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

  • TcxMargin (stores a rectangular object’s margins, in pixels).
  • TcxOffsets (stores pixel offsets of a visual object).
  • TcxRect (stores the area and position (bounding rectangle) of a visual object).
  • TdxPoint (stores a point in pixel coordinates).
  • TcxSize (stores pixel dimensions of a visual object).
  • TdxPointDoublePersistent (stores a point in double precision floating-point coordinates).
  • TdxSizeFloat (stores dimensions of a visual object in double precision floating-point coordinates).

Note

A geometry object’s owner automatically calls the ChangeScale procedure in DPI-aware applications.

See Also