User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_bitmap.drawshape_itbaseobject_wordbool_double_itpoint

Table of Contents

ITGIS_Bitmap.DrawShape method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Bitmap.DrawShape | Methods | Properties

Draw a shape on a bitmap (for internal TGIS_Shape.PrepareContourInternal purposes).

Available also on: Delphi | .NET | Java | Python.

Syntax

// C#
public void DrawShape(
  ITBaseObject _shape,
  WordBool _outline,
  ref double _scale,
  ref ITPoint _offset
);
' VisualBasic
Public Sub DrawShape(
  ByVal _shape As ITBaseObject,
  ByVal _outline As WordBool,
  ByRef _scale As Double,
  ByRef _offset As ITPoint
)
// Oxygene
public
  procedure DrawShape(
    _shape : ITBaseObject;
    _outline : WordBool;
    var _scale : Double;
    var _offset : ITPoint
  );

Parameters

Name Type Description
_shape ITBaseObject shape to be drawn
_outline WordBool if True then outline of polygonal object will be drawn; otherwise only interiors will be drawn
_scale double
Double
shape size in pixels divided by the shape size in map units
_offset ITPoint offset of shape within bitmap caused by map placement, margins etc.

Remarks

Interiors are drawn with TGIS_Color.LightGray. Borders and lines are drawn TGIS_Color.DimGray. Default PPI for platfom is used (96 for Windows).

This method is for internal use only.

2025/01/31 01:03

Page Tools