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, bool _outline, ref double _scale, ref TPoint _offset );
' VisualBasic Public Overridable MustOverride Sub DrawShape( ByVal _shape As Object, ByVal _outline As Boolean, ByRef _scale As Double, ByRef _offset As TPoint )
// Oxygene public procedure DrawShape( _shape : TObject; _outline : Boolean; var _scale : Double; var _offset : TPoint ); virtual; abstract;
| Name | Type | Description |
|---|---|---|
| _shape | Object TObject | shape object to draw |
| _outline | bool Boolean | if True, polygon shapes are drawn with a black outline; otherwise only the interior is drawn |
| _scale | double Double | pixels per map unit for the drawn shape |
| _offset | TPoint | margin between the upper-left bitmap corner and the upper-left corner of the shape extent, expressed in pixels |
Shape interiors are drawn with TGIS_Color.DimGray. Borders are drawn with TGIS_Color.Black. The default platform PPI is used (96 on Windows).