Skip to main content

Create(TPersistent,Integer,Integer) Constructor

Creates a new TcxPointBasedGeometryObject class instance with the specified parameters.

Declaration

constructor Create(AOwner: TPersistent; ADefaultX: Integer = 0; ADefaultY: Integer = 0); reintroduce;

Parameters

Name Type Description
AOwner TPersistent

A persistent object to which the geometry-based information belongs.

ADefaultX Integer

An initial horizontal offset or width, in pixels.

ADefaultY Integer

An initial vertical offset or height, in pixels.

Remarks

A TcxPointBasedGeometryObject 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