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.
Tip |
---|
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
Delphi |
public |
Parameters
Rect
Type: TRect
Opacity
Type: Single
Reference |