Skip to main content

Create(TPersistent,TRect) Constructor

Creates a new TcxRectBasedGeometryObject instance from the specified TRect value.

Declaration

constructor Create(AOwner: TPersistent; const ADefaultValue: TRect); reintroduce; overload;

Parameters

Name Type Description
AOwner TPersistent

A persistent object to which the geometry information belongs.

ADefaultValue TRect

A source rectangle.

Remarks

A TcxRectBasedGeometryObject class instance stores the source rectangle as its initial state. The IsDefault function compares the current geometry information with this rectangle. The Reset procedure restores the initial state.

See Also