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

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

Draw a polygon on the Canvas object.

Syntax

// 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
2018/04/05 12:09