DK for Delphi | GisInterfaces.IGIS_LegendParent.ControlStyleDrawRectangle | Overloads | Methods
Draws a rectangle.
// Delphi public 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 public: void ControlStyleDrawRectangle( const int _left, const int _top, const int _width, const int _height, TGIS_Color* const _brush, TGIS_Color* const _pen ) = 0 /* overload */;
| Name | Type | Description |
|---|---|---|
| _left | Integer | X-coordinate of the upper-left corner. |
| _top | Integer | Y-coordinate of the upper-left corner. |
| _width | Integer | Rectangle width. |
| _height | Integer | Rectangle height. |
| _brush | TGIS_Color | Brush color. |
| _pen | TGIS_Color | Pen color. |
Do not call this method directly. Method is only for internal Legend/Parent communication.