DK for ActiveX | TatukGIS_XDK11.ITGIS_Bitmap.DrawShape_2 | Methods | Properties
Draw a shape on a bitmap (for internal TGIS_Shape.PrepareContourInternal purposes).
// C# public void DrawShape_2( ITBaseObject _shape, int _ppi, WordBool _outline, ref double _scale, ref ITPoint _offset );
' VisualBasic Public Sub DrawShape_2( ByVal _shape As ITBaseObject, ByVal _ppi As Integer, ByVal _outline As WordBool, ByRef _scale As Double, ByRef _offset As ITPoint )
// Oxygene public procedure DrawShape_2( _shape : ITBaseObject; _ppi : Integer; _outline : WordBool; var _scale : Double; var _offset : ITPoint );
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 |
_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. |
Interiors are drawn with TGIS_Color.LightGray. Borders and lines are drawn TGIS_Color.DimGray.