DK for ActiveX | TatukGIS_XDK11.ITGIS_Bitmap.DrawShape | Methods | Properties
Draw a shape on the bitmap for internal TGIS_Shape.PrepareContourInternal processing.
// 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 );
| Name | Type | Description |
|---|---|---|
| _shape | ITBaseObject | shape to draw |
| _outline | WordBool | if True, draws only the outline of polygonal shapes; otherwise draws only interiors |
| _scale | double Double | shape size in pixels divided by the shape size in map units |
| _offset | ITPoint | bitmap offset caused by map placement, margins, and similar factors |
Interiors are drawn with TGIS_Color.LightGray. Borders and lines are drawn with TGIS_Color.DimGray. The default platform PPI is used (96 on Windows).