DK11 for Delphi | GisLayerVector.TGIS_ShapePolygon.Create | Overloads | Constructors | Fields | Methods | Properties
Create a shape instance.
Available also on: Python.
Overrides TGIS_Shape.Create.
// Delphi public constructor Create( const _source : TGIS_Shape; const _ptr : Pointer; const _mapped : Boolean; const _uid : TGIS_Uid; const _layer : TGIS_LayerVector ); overload; override;
// C++ Builder Create ( TGIS_Shape* const _source, const void* _ptr, const bool _mapped, TGIS_Uid* const _uid, TGIS_LayerVector* const _layer );
Name | Type | Description |
---|---|---|
_source | TGIS_Shape | If not nil then base shape will be based on this shape. Otherwise _prt, _mapped, _uid and _layer will be used. |
_ptr | Pointer | Address in memory where shape data exists. |
_mapped | Boolean | Id _ptr from mapped file or from memory. |
_uid | TGIS_Uid | Unique identity for shape. |
_layer | TGIS_LayerVector | Reference to the layer on which shape will be created. |
Use this method to create a shape. Internally it calls Recreate method.