User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_layervector.createshape_tgis_shapetype

Table of Contents

TGIS_LayerVector.CreateShape(TGIS_ShapeType) method

DK11 for Java | tatukgis.jdk.TGIS_LayerVector.CreateShape | Overloads | Constructors | Fields | Methods | Properties | Events

Creates a new shape and makes it editable.

Available also on: Delphi | .NET | ActiveX.

Syntax

// Java
public TGIS_Shape CreateShape(
  TGIS_ShapeType _type
);
// Oxygene
public
  function CreateShape(
    _type : TGIS_ShapeType
  ) : TGIS_Shape;

Parameters

Name Type Description
_type TGIS_ShapeType type of shape to be created; it must be a type supported by the layer; if TGIS_ShapeType.Unknown, then the default shape type will be created

Result

Type Description
TGIS_Shape Newly created shape or nil.

References

2020/05/07 01:13