User Tools

Site Tools


api:dk11:delphi:fmx.gisframework.tgis_bitmapfmx.drawshape_tobject_boolean_double_tpoint

Table of Contents



TGIS_BitmapFMX.DrawShape(TObject; Boolean; Double; TPoint) method

DK for Delphi | FMX.GisFramework.TGIS_BitmapFMX.DrawShape | Overloads | Constructors | Fields | Methods | Properties

Draw a shape on the bitmap for internal TGIS_Shape.PrepareContourInternal processing.

Syntax

Overrides TGIS_BitmapAbstract.DrawShape.

// Delphi
public
  procedure DrawShape(
    const _shape : TObject;
    const _outline : Boolean;
    var _scale : Double;
    var _offset : TPoint
  ); overload; override;
// C++ Builder
public:
  virtual void DrawShape(
    TObject* const _shape,
    const bool _outline,
    double &_scale,
    TPoint* &_offset
  ) /* overload */;

Parameters

Name Type Description
_shape TObject shape object to draw
_outline Boolean if True, polygon shapes are drawn with a black outline; otherwise only the interior is drawn
_scale 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

Remarks

Shape interiors are drawn with TGIS_Color.DimGray. Borders are drawn with TGIS_Color.Black. The default platform PPI is used (96 on Windows).

This method is for internal use only.

2026/07/11 00:18

Page Tools