User Tools

Site Tools


api:dk11:delphi:gisrendererabstract.tgis_rendererabstract.canvasdrawarc_integer_integer_integer_single_single

Table of Contents



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

DK11 for Delphi | GisRendererAbstract.TGIS_RendererAbstract.CanvasDrawArc | Overloads | Constructors | Fields | Methods | Properties

Draw an arc on the Canvas object.

Available also on: .NET | Java | ActiveX | Python.

Syntax

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

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/30 19:18

Page Tools