User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_shape.create_void

Table of Contents

TGIS_Shape.TGIS_Shape() constructor

DK for .NET | TatukGIS.NDK.TGIS_Shape.Create | Overloads | Constructors | Fields | Methods | Properties

Create a shape instance.

Available also on: Delphi | Java | Python.

Syntax

// C#
public TGIS_Shape();
' VisualBasic
Public Sub New()
// Oxygene
public
  constructor ;

Remarks

For normal use,TGIS_LayerVector.CreateShape is recommended instead.

PURPOSE: Initialize a new shape object for a specific geometry type managed by the vector-layer framework.

BEHAVIOR: Creates the shape instance and initializes its internal state by callingRecreate.

CONSTRAINTS: This constructor is primarily intended for internal or advanced use. In most application code, create shapes through the owning vector layer.

Example

This is a simple procedure showing how to add a shape to the layer.

2026/07/11 01:10

Page Tools