User Tools

Site Tools


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

Table of Contents

TGIS_RendererFmx.CanvasDrawPie method

DK11 for Delphi | FMX.GisRenderer.TGIS_RendererFmx.CanvasDrawPie | Constructors | Fields | Methods | Properties

Draw a pie on the Canvas object.

Syntax

Overrides TGIS_RendererAbstract.CanvasDrawPie.

// Delphi
public
  procedure CanvasDrawPie(
    const _angle_0 : Double;
    const _angle_1 : Double;
    const _radius : Integer;
    const _origin_x : Integer;
    const _origin_y : Integer
  ); override;
// C++ Builder
public:
  virtual void CanvasDrawPie(
    const double _angle_0,
    const double _angle_1,
    const int _radius,
    const int _origin_x,
    const int _origin_y
  );

Parameters

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