User Tools

Site Tools


api:dk11:delphi:gisrendererabstract.tgis_rendererabstract.canvasdrawpolygon_tgis_drawbuf_tgis_integerarray

Table of Contents

TGIS_RendererAbstract.CanvasDrawPolygon(TGIS_DrawBuf; TGIS_IntegerArray) method

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

Draw a polygon on the Canvas object.

Available also on: .NET | Java | ActiveX.

Syntax

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

Parameters

Name Type Description
_points TGIS_DrawBuf array of all points (in pixels)
_parts TGIS_IntegerArray array of all parts; each entry is a part index starting offset
2018/02/17 00:10