Graphics.FillRectangle Method (Color, Single, Single, Single, Single) |
Fills a rectangle with the specified color
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntaxpublic void FillRectangle(
Color color,
float x,
float y,
float width,
float height
)
Public Sub FillRectangle (
color As Color,
x As Single,
y As Single,
width As Single,
height As Single
)
member FillRectangle :
color : Color *
x : float32 *
y : float32 *
width : float32 *
height : float32 -> unit
Parameters
- color
- Type: Eto.Drawing.Color
Fill color - x
- Type: System.Single
X co-ordinate - y
- Type: System.Single
Y co-ordinate - width
- Type: System.Single
Width of the rectangle - height
- Type: System.Single
Height of the rectangle
See Also