vcl-cxgeometry-a0d443ee.md
The base class for all objects that store geometry-related information.
TcxGeometryObject = class(
TcxLockablePersistent
)
All visual elements in DevExpress controls can scale automatically according to monitor DPI changes when the application receives the WM_DPICHANGED system message.
The list below outlines key members of the TcxGeometryObject class. You can use these members to work with visual elements.
Scales the geometric primitive according to specified numerator and denominator values.
Note
All DevExpress controls call this procedure automatically to scale their visual elements. You may need to call this procedure only if you implement a custom component that uses a TcxGeometryObject class descendant.
LoadFromStream | SaveToStreamAllow you to store the geometric primitive in a stream.OnChangeAllows you to respond to geometric primitive changes.
AssignCopies compatible settings between visual elements.BeginUpdate | EndUpdate | CancelUpdateAllow you to avoid excessive redraw operations during batch visual element changes.OwnerProvides access to the parent object.
Do not use the TcxGeometryObject class directly. Use the following descendants instead:
TcxMarginStores pixel margins of a visual element.TcxOffsetsStores pixel offsets or margins of a visual element.TcxRectStores the area (bounding rectangle) of a visual element.TdxPointStores pixel coordinates of a point.TcxSizeStores pixel dimensions of a visual element.TdxPointDoublePersistentStores the coordinates of a point (in abstract measurement units).TdxSizeFloatStores dimensions in double precision floating-point coordinates.
TObject TPersistent TcxOwnedPersistent TcxOwnedInterfacedPersistent TcxLockablePersistent TcxGeometryObject
See Also
TcxPointBasedGeometryObject Class
TcxPointDoubleBasedGeometryObject Class