User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_rendererabstract.canvasdrawarc_integer_integer_integer_single_single

Table of Contents



TGIS_RendererAbstract.CanvasDrawArc(int, int, int, float, float) method

DK11 for Java | tatukgis.jdk.TGIS_RendererAbstract.CanvasDrawArc | Overloads | Constructors | Fields | Methods | Properties

Draw an arc on the Canvas object.

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

Syntax

// Java
public abstract void CanvasDrawArc(
  int _x,
  int _y,
  int _radius,
  float _startAngle,
  float _sweepAngle
);
// Oxygene
public
  procedure CanvasDrawArc(
    _x : Integer;
    _y : Integer;
    _radius : Integer;
    _startAngle : Single;
    _sweepAngle : Single
  ); virtual; abstract;

Parameters

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

Page Tools