DK for .NET | TatukGIS.NDK.WinForms.TGIS_ControlLegend.ControlStyleDrawRectangle | Overloads | Constructors | Methods | Properties | Events
Draws a rectangle.
Available also on: Delphi FMX | Java.
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 );
| 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. |
Do not call this method directly. Method is only for internal Legend/Parent communication.