User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_rendererabstract.canvasdrawpolygon_tgis_drawbuf_tgis_integerarray

Table of Contents

TGIS_RendererAbstract.CanvasDrawPolygon(TPoint[], int[]) method

DK11 for .NET | TatukGIS.NDK.TGIS_RendererAbstract.CanvasDrawPolygon | Overloads | Constructors | Fields | Methods | Properties

Draw a polygon on the Canvas object.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public virtual abstract void CanvasDrawPolygon(
  TPoint[] _points,
  int[] _parts
);
' VisualBasic
Public Overridable MustOverride Sub CanvasDrawPolygon(
  ByVal _points As TPoint(),
  ByVal _parts As Integer()
)
// Oxygene
public
  procedure CanvasDrawPolygon(
    _points : TGIS_DrawBuf;
    _parts : TGIS_IntegerArray
  ); virtual; abstract;

Parameters

Name Type Description
_points TPoint[]
TGIS_DrawBuf
array of all points (in pixels)
_parts int[]
TGIS_IntegerArray
array of all parts; each entry is a part index starting offset
2021/12/07 09:04

Page Tools