User Tools

Site Tools


api:dk11:delphi:gisrendererabstract.tgis_rendererabstract.canvasdrawpolygon_tgis_drawbuf_integer

Table of Contents

TGIS_RendererAbstract.CanvasDrawPolygon(TGIS_DrawBuf; Integer) method

DK11 for Delphi | GisRendererAbstract.TGIS_RendererAbstract.CanvasDrawPolygon | Overloads | Constructors | Fields | Methods | Properties

Draw a polygon on the Canvas object.

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

Syntax

// Delphi
public
  procedure CanvasDrawPolygon(
    const _points : TGIS_DrawBuf;
    const _count : Integer
  ); overload; virtual; abstract;
// C++ Builder
public:
  virtual void CanvasDrawPolygon(
    TGIS_DrawBuf* const _points,
    const int _count
  ) = 0 /* overload */;

Parameters

Name Type Description
_points TGIS_DrawBuf array of all points (in pixels)
_count Integer number of points to be drawn from the _points array
2022/11/30 19:18

Page Tools