User Tools

Site Tools


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

Table of Contents



TGIS_BitmapFMX.DrawShape(TObject; Integer; Boolean; TGIS_Color; TGIS_Color; 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 _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 */;

Parameters

Name Type Description
_shape TObject shape object to draw
_ppi Integer pixels per inch used to calculate line widths and related sizes
_outline Boolean if True, the outline of polygon shapes is drawn; otherwise only interiors are drawn
_areacolor TGIS_Color fill color for interiors
_linecolor TGIS_Color color for lines and outlines
_scale Double pixels per map unit for the drawn shape
_offset TPoint offset of the shape within the bitmap caused by placement, margins, and similar factors

Remarks

This overload uses the supplied area and line colors.

This method is for internal use only.

2026/07/11 00:18

Page Tools