User Tools

Site Tools


api:dk11:net:tatukgis.ndk.winforms.tgis_controllegend.controlstyledrawrectangle_integer_integer_integer_integer_tgis_color_tgis_color

Table of Contents

TGIS_ControlLegend.ControlStyleDrawRectangle(int, int, int, int, TGIS_Color, TGIS_Color) method

DK for .NET | TatukGIS.NDK.WinForms.TGIS_ControlLegend.ControlStyleDrawRectangle | Overloads | Constructors | Methods | Properties | Events

Draws a rectangle.

Available also on: Delphi FMX | Java.

Syntax

Implements IGIS_LegendParent.ControlStyleDrawRectangle.

// C#
protected void ControlStyleDrawRectangle(
  int _left,
  int _top,
  int _width,
  int _height,
  TGIS_Color _brush,
  TGIS_Color _pen
);
' VisualBasic
Protected Sub ControlStyleDrawRectangle(
  ByVal _left As Integer,
  ByVal _top As Integer,
  ByVal _width As Integer,
  ByVal _height As Integer,
  ByVal _brush As TGIS_Color,
  ByVal _pen As TGIS_Color
)
// Oxygene
protected
  procedure ControlStyleDrawRectangle(
    _left : Integer;
    _top : Integer;
    _width : Integer;
    _height : Integer;
    _brush : TGIS_Color;
    _pen : TGIS_Color
  );

Parameters

Name Type Description
_left int
Integer
X-coordinate of the upper-left corner.
_top int
Integer
Y-coordinate of the upper-left corner.
_width int
Integer
Rectangle width.
_height int
Integer
Rectangle 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.

2026/08/30 02:40

Page Tools