Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCommon > FMX.RS.CanvasHelper > Classes > TFMXCanvasHelper > Methods

TFMXCanvasHelper.Ellipse(Integer,Integer,Integer,Integer,Single) Method

Scroll Prev Top Next More

Draws the ellipse defined by a bounding rectangle on the canvas.

Call Ellipse to draw a circle or ellipse on the canvas. Specify the bounding rectangle either by giving:

The top left point at pixel coordinates (X1, Y1) and the bottom right point at (X2, Y2).

A TRect value.

If the bounding rectangle is a square, a circle is drawn.The ellipse is outlined using the value of    Pen, and filled using the value of    Brush.

alert_noteTip

This FMX version of the method adds a default Opacity parameter at the end of the parameters. This allows you to take advantage of the FMX ability to draw transparently to the canvas. Alternatively, don't set this parameter and it works exactly like the VCL TCanvas method.

Namespace: FMX.RS.CanvasHelper

Parameters

X1

Type: Integer

Y1

Type: Integer

X2

Type: Integer

Y2

Type: Integer

Opacity

Type: Single

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb