Create(TPersistent,Integer) Constructor
Initializes a new instance of the TcxRectBasedGeometryObject class with specified settings.
Declaration
constructor Create(AOwner: TPersistent; const ADefaultValue: Integer = 0); reintroduce; overload;
Parameters
Name | Type | Description |
---|---|---|
AOwner | TPersistent | A persistent object to which the created rectangle belongs. |
ADefaultValue | Integer | A value assigned to the Left, Top, Right, and Bottom properties. |
Remarks
This constructor is designed to create rectangles used as margins or offsets. The ADefaultValue parameter defines the initial geometry information. The IsDefault function compares the current and initial geometry information states. The Reset procedure restores the initial state.
See Also