User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_bitmap.drawshape_3_itbaseobject_integer_wordbool_itgis_color_itgis_color_double_itpoint

Table of Contents

ITGIS_Bitmap.DrawShape_3 method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Bitmap.DrawShape_3 | 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_3(
  ITBaseObject _shape,
  int _ppi,
  WordBool _outline,
  ITGIS_Color _areacolor,
  ITGIS_Color _linecolor,
  ref double _scale,
  ref ITPoint _offset
);
' VisualBasic
Public Sub DrawShape_3(
  ByVal _shape As ITBaseObject,
  ByVal _ppi As Integer,
  ByVal _outline As WordBool,
  ByVal _areacolor As ITGIS_Color,
  ByVal _linecolor As ITGIS_Color,
  ByRef _scale As Double,
  ByRef _offset As ITPoint
)
// Oxygene
public
  procedure DrawShape_3(
    _shape : ITBaseObject;
    _ppi : Integer;
    _outline : WordBool;
    _areacolor : ITGIS_Color;
    _linecolor : ITGIS_Color;
    var _scale : Double;
    var _offset : ITPoint
  );

Parameters

Name Type Description
_shape ITBaseObject shape to be drawn
_ppi int
Integer
pixels per inch; us3ed to calculate proper line sizes etc.
_outline WordBool if True then outline of polygonal object will be drawn; otherwise only interiors will be drawn
_areacolor ITGIS_Color color for interiors
_linecolor ITGIS_Color color for lines and outlines
_scale double
Double
pixels/unit scale of a shape
_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.

This method is for internal use only.

2024/12/20 22:15

Page Tools