User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_bitmapabstract.drawshape_tobject_integer_boolean_tgis_color_tgis_color_double_tpoint

Table of Contents

TGIS_BitmapAbstract.DrawShape(Object, int, bool, TGIS_Color, TGIS_Color, double, TPoint) method

DK for .NET | TatukGIS.NDK.TGIS_BitmapAbstract.DrawShape | Overloads | Fields | Methods | Properties

Draw a shape on the bitmap for internal TGIS_Shape.PrepareContourInternal processing.

Available also on: Delphi | Java | Python.

Syntax

// C#
public virtual abstract void DrawShape(
  Object _shape,
  int _ppi,
  bool _outline,
  TGIS_Color _areacolor,
  TGIS_Color _linecolor,
  ref double _scale,
  ref TPoint _offset
);
' VisualBasic
Public Overridable MustOverride Sub DrawShape(
  ByVal _shape As Object,
  ByVal _ppi As Integer,
  ByVal _outline As Boolean,
  ByVal _areacolor As TGIS_Color,
  ByVal _linecolor As TGIS_Color,
  ByRef _scale As Double,
  ByRef _offset As TPoint
)
// Oxygene
public
  procedure DrawShape(
    _shape : TObject;
    _ppi : Integer;
    _outline : Boolean;
    _areacolor : TGIS_Color;
    _linecolor : TGIS_Color;
    var _scale : Double;
    var _offset : TPoint
  ); virtual; abstract;

Parameters

Name Type Description
_shape Object
TObject
shape object to draw
_ppi int
Integer
pixels per inch used to calculate line widths and related sizes
_outline bool
Boolean
if True, the outline of polygon shapes is drawn; otherwise only interiors are drawn
_areacolor TGIS_Color fill color for interiors
_linecolor TGIS_Color color for lines and outlines
_scale double
Double
pixels per map unit for the drawn shape
_offset TPoint offset of the shape within the bitmap caused by placement, margins, and similar factors

Remarks

This overload uses the supplied area and line colors.

This method is for internal use only.

2026/07/11 00:53

Page Tools