User Tools

Site Tools


api:dk11:delphi:vcl.gisgdiplus.tgis_gdipgraphics.drawpie_tgis_gdippen_integer_integer_integer_integer_integer_integer

Table of Contents

TGIS_GdipGraphics.DrawPie method

Syntax

// Delphi
public
  procedure DrawPie(
    _pen : TGIS_GdipPen;
    _x : Integer;
    _y : Integer;
    _width : Integer;
    _height : Integer;
    _startAngle : Integer;
    _sweepAngle : Integer
  );
// C++ Builder
public:
  void DrawPie(
    TGIS_GdipPen* _pen,
    int _x,
    int _y,
    int _width,
    int _height,
    int _startAngle,
    int _sweepAngle
  );

Parameters

Name Type Description
_pen TGIS_GdipPen pen for the pie
_x Integer x-coordinate of the upper-left corner of the bounding rectangle
_y Integer y-coordinate of the upper-left corner of the bounding rectangle
_width Integer width of the bounding rectangle
_height Integer height of the bounding rectangle
_startAngle Integer angle measured in degrees clockwise from the x-axis to the first side of the pie
_sweepAngle Integer angle measured in degrees clockwise from the _startAngle to the second side of the pie
2017/09/04 11:18