User Tools

Site Tools


api:dk11:delphi:vcl.giscontrollegend.tgis_controllegend.controlstyledrawrectangle_integer_integer_integer_integer_tgis_color_tgis_color

Table of Contents

TGIS_ControlLegend.ControlStyleDrawRectangle(Integer; Integer; Integer; Integer; TGIS_Color; TGIS_Color) method

DK11 for Delphi | VCL.GisControlLegend.TGIS_ControlLegend.ControlStyleDrawRectangle | Overloads | Constructors | Methods | Properties | Events

Draws a rectangle.

Available also on: Delphi FMX | .NET WinForms | Java.

Syntax

Implements IGIS_LegendParent.ControlStyleDrawRectangle.

// Delphi
protected
  procedure ControlStyleDrawRectangle(
    const _left : Integer;
    const _top : Integer;
    const _width : Integer;
    const _height : Integer;
    const _brush : TGIS_Color;
    const _pen : TGIS_Color
  ); overload;
// C++ Builder
protected:
  void ControlStyleDrawRectangle(
    const int _left,
    const int _top,
    const int _width,
    const int _height,
    TGIS_Color* const _brush,
    TGIS_Color* const _pen
  ) /* overload */;

Parameters

Name Type Description
_left Integer x-coordinate of the upper-left corner
_top Integer y-coordinate of the upper-left corner
_width Integer width
_height Integer height
_brush TGIS_Color brush color
_pen TGIS_Color pen color

Remarks

Do not call this method directly. Method is only for internal Legend/Parent communication.

2023/01/27 01:21

Page Tools