DK for Delphi | FMX.GisFramework.TGIS_BitmapFMX.DrawShape | Overloads | Constructors | Fields | Methods | Properties
Draw a shape on a bitmap (for internal TGIS_Shape.PrepareContourInternal purposes).
Overrides TGIS_BitmapAbstract.DrawShape.
// Delphi public procedure DrawShape( const _shape : TObject; const _ppi : Integer; const _outline : Boolean; const _areacolor : TGIS_Color; const _linecolor : TGIS_Color; var _scale : Double; var _offset : TPoint ); overload; override;
// C++ Builder public: virtual void DrawShape( TObject* const _shape, const int _ppi, const bool _outline, TGIS_Color* const _areacolor, TGIS_Color* const _linecolor, double &_scale, TPoint* &_offset ) /* overload */;
| Name | Type | Description |
|---|---|---|
| _shape | TObject | shape to be drawn |
| _ppi | Integer | pixels per inch; us3ed to calculate proper line sizes etc. |
| _outline | Boolean | if True then outline of polygonal object will be drawn; otherwise only interiors will be drawn |
| _areacolor | TGIS_Color | color for interiors |
| _linecolor | TGIS_Color | color for lines and outlines |
| _scale | Double | pixels/unit scale of a shape |
| _offset | TPoint | 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.