User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_rendererabstract.canvasdrawpie_double_double_integer_integer_integer

Table of Contents

ITGIS_RendererAbstract.CanvasDrawPie method

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

Draw a pie on the Canvas object.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public void CanvasDrawPie(
  double _angle_0,
  double _angle_1,
  int _radius,
  int _origin_x,
  int _origin_y
);
' VisualBasic
Public Sub CanvasDrawPie(
  ByVal _angle_0 As Double,
  ByVal _angle_1 As Double,
  ByVal _radius As Integer,
  ByVal _origin_x As Integer,
  ByVal _origin_y As Integer
)
// Oxygene
public
  procedure CanvasDrawPie(
    _angle_0 : Double;
    _angle_1 : Double;
    _radius : Integer;
    _origin_x : Integer;
    _origin_y : Integer
  );

Parameters

Name Type Description
_angle_0 double
Double
starting angle clockwise from the x-axis to the first side of the pipe (in radians)
_angle_1 double
Double
ending angle from the first side to the second side of the pipe (in radians)
_radius int
Integer
pie radius (in radians)
_origin_x int
Integer
x origin point of pie center (in pixels)
_origin_y int
Integer
y origin point of pie center (in pixels)
2020/05/07 01:04

Page Tools