User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_rendererabstract.canvasdrawarc_integer_integer_integer_integer_integer_integer_integer_integer

Table of Contents



ITGIS_RendererAbstract.CanvasDrawArc method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_RendererAbstract.CanvasDrawArc | Methods | Properties

Draw an arc on the Canvas object.

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

Syntax

// C#
public void CanvasDrawArc(
  int _x,
  int _y,
  int _width,
  int _height,
  int _startX,
  int _startY,
  int _endX,
  int _endY
);
' VisualBasic
Public Sub CanvasDrawArc(
  ByVal _x As Integer,
  ByVal _y As Integer,
  ByVal _width As Integer,
  ByVal _height As Integer,
  ByVal _startX As Integer,
  ByVal _startY As Integer,
  ByVal _endX As Integer,
  ByVal _endY As Integer
)
// Oxygene
public
  procedure CanvasDrawArc(
    _x : Integer;
    _y : Integer;
    _width : Integer;
    _height : Integer;
    _startX : Integer;
    _startY : Integer;
    _endX : Integer;
    _endY : Integer
  );

Parameters

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

Page Tools