Create(TPersistent,Double,Double) Constructor
Initializes a new instance of the TcxPointDoubleBasedGeometryObject class with specified settings.
Declaration
constructor Create(AOwner: TPersistent; const ADefaultX: Double = 0; const ADefaultY: Double = 0); reintroduce;
Parameters
Name | Type | Description |
---|---|---|
AOwner | TPersistent | A persistent object to which this geometry-based information belongs. |
ADefaultX | Double | An initial horizontal offset or width, in floating-point coordinates. |
ADefaultY | Double | An initial vertical offset or height, in floating-point coordinates. |
Remarks
A TcxPointDoubleBasedGeometryObject instance stores the ADefaultX and ADefaultY values as its initial state. The IsDefault function compares the current geometry information to these values. The Reset procedure restores the initial state.
See Also