TiObjectCanvas.AddEllipse

TiObjectCanvas

Adds an ellipse object to the control.

function AddEllipse(X, Y, Width, Height : Double) : Integer;

Description

Call AddEllipse to add an ellipse object to the canvas. All other properties of the ellipse not specified in the parameters will be set to the default values. Store the handle returned if you wish to manipulate the object at a later time or to set the other properties of the object.

Example

Delphi

Ellipse1Handle := iComponent.AddEllipse(0, 0, 20, 20);

C++ Builder

Ellipse1Handle = iComponent->AddEllipse(0, 0, 20, 20);

Contents | Index | Previous | Next