DK for .NET | TatukGIS.NDK.TGIS_BitmapAbstract.DrawShape | Overloads | Fields | Methods | Properties
Draw a shape on the bitmap for internal TGIS_Shape.PrepareContourInternal processing.
// C# public virtual abstract void DrawShape( Object _shape, int _ppi, bool _outline, ref double _scale, ref TPoint _offset );
' VisualBasic Public Overridable MustOverride Sub DrawShape( ByVal _shape As Object, ByVal _ppi As Integer, ByVal _outline As Boolean, ByRef _scale As Double, ByRef _offset As TPoint )
// Oxygene public procedure DrawShape( _shape : TObject; _ppi : Integer; _outline : Boolean; var _scale : Double; var _offset : TPoint ); virtual; abstract;
| 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 |
| _scale | double Double | shape size in pixels divided by the shape size in map units |
| _offset | TPoint | offset of the shape within the bitmap caused by placement, margins, and similar factors |
Interiors are drawn with TGIS_Color.LightGray. Borders and lines are drawn with TGIS_Color.DimGray.