User Tools

Site Tools


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

Table of Contents

TGIS_RendererFmx.CanvasDrawPolygon(TGIS_DrawBufF; TGIS_IntegerArray) method

DK 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_DrawBufF;
    const _parts : TGIS_IntegerArray
  ); override;
// C++ Builder
public:
  virtual void CanvasDrawPolygon(
    TGIS_DrawBufF* const _points,
    TGIS_IntegerArray* const _parts
  );

Parameters

Name Type Description
_points TGIS_DrawBufF array of all points (in pixels)
_parts TGIS_IntegerArray array of all parts; each entry is a part index starting offset
2025/01/31 01:05

Page Tools