User Tools

Site Tools


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

Table of Contents

TGIS_RendererFmx.CanvasDrawPolygon(TGIS_DrawBuf; TGIS_IntegerArray) method

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

Draw a polygon on the Canvas object.

Syntax

Overrides TGIS_RendererAbstract.CanvasDrawPolygon.

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

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
2024/12/20 21:53

Page Tools