User Tools

Site Tools


api:dk11:delphi:fmx.gisrenderer.tgis_rendererfmx.canvasdrawarc_integer_integer_integer_single_single

Table of Contents



TGIS_RendererFmx.CanvasDrawArc(Integer; Integer; Integer; Single; Single) method

DK11 for Delphi | FMX.GisRenderer.TGIS_RendererFmx.CanvasDrawArc | Overloads | Constructors | Fields | Methods | Properties

Draw an arc on the Canvas object.

Available also on: Python.

Syntax

Overrides TGIS_RendererAbstract.CanvasDrawArc.

// Delphi
public
  procedure CanvasDrawArc(
    const _x : Integer;
    const _y : Integer;
    const _radius : Integer;
    const _startAngle : Single;
    const _sweepAngle : Single
  ); override;
// C++ Builder
public:
  virtual void CanvasDrawArc(
    const int _x,
    const int _y,
    const int _radius,
    const float _startAngle,
    const float _sweepAngle
  );

Parameters

Name Type Description
_x Integer x-coordinate of the center of the ellipse that contains the arc (in pixels)
_y Integer y-coordinate of the center of the ellipse that contains the arc (in pixels)
_radius Integer radius of the ellipse that contains the arc
_startAngle Single angle between the x-axis and the starting point of the arc
_sweepAngle Single angle between the starting and ending points of the arc
2022/11/16 01:13

Page Tools