User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_bitmapabstract.drawshape_tobject_integer_boolean_double_tpoint

Table of Contents

TGIS_BitmapAbstract.DrawShape(TObject, int, bool, double, TPoint) method

DK11 for Java | tatukgis.jdk.TGIS_BitmapAbstract.DrawShape | Overloads | Fields | Methods | Properties

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

Available also on: Delphi | .NET | Python.

Syntax

// Java
public abstract void DrawShape(
  TObject _shape,
  int _ppi,
  bool _outline,
  /* ref */ @ValueTypeParameter VarParameter<double> _scale,
  /* ref */ @ValueTypeParameter VarParameter<TPoint> _offset
);
// Oxygene
public
  procedure DrawShape(
    _shape : TObject;
    _ppi : Integer;
    _outline : Boolean;
    var _scale : Double;
    var _offset : TPoint
  ); virtual; abstract;

Parameters

Name Type Description
_shape TObject shape to be drawn
_ppi int
Integer
pixels per inch; us3ed to calculate proper line sizes etc.
_outline bool
Boolean
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 TPoint 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.

2022/12/20 01:27

Page Tools