User Tools

Site Tools


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

Table of Contents



TGIS_RendererFmx.CanvasDrawArc(Integer; Integer; Integer; Integer; Integer; Integer; Integer; Integer) 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 _width : Integer;
    const _height : Integer;
    const _startX : Integer;
    const _startY : Integer;
    const _endX : Integer;
    const _endY : Integer
  ); override;
// C++ Builder
public:
  virtual void CanvasDrawArc(
    const int _x,
    const int _y,
    const int _width,
    const int _height,
    const int _startX,
    const int _startY,
    const int _endX,
    const int _endY
  );

Parameters

Name Type Description
_x Integer x-coordinate of the upper-left corner of the bounding rectangle (in pixels)
_y Integer y-coordinate of the upper-left corner of the bounding rectangle (in pixels)
_width Integer width of the ellipse that contains the arc (in pixels)
_height Integer height of the ellipse that contains the arc (in pixels)
_startX Integer x-coordinate of starting point defined by the intersection of the ellipse and a line defined by the center (in pixels)
_startY Integer y-coordinate of starting point defined by the intersection of the ellipse and a line defined by the center (in pixels)
_endX Integer x-coordinate of ending point defined by the intersection of the ellipse and a line defined by the center (in pixels)
_endY Integer y-coordinate of ending point defined by the intersection of the ellipse and a line defined by the center (in pixels)
2022/11/16 01:13

Page Tools