GraphicsDrawInsetRectangle Method |
Draws an rectangle with colors on the top/left and bottom/right with the given width
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public void DrawInsetRectangle(
Color topLeftColor,
Color bottomRightColor,
RectangleF rectangle,
int width = 1
)
Public Sub DrawInsetRectangle (
topLeftColor As Color,
bottomRightColor As Color,
rectangle As RectangleF,
Optional width As Integer = 1
)
member DrawInsetRectangle :
topLeftColor : Color *
bottomRightColor : Color *
rectangle : RectangleF *
?width : int
(* Defaults:
let _width = defaultArg width 1
*)
-> unit
Parameters
- topLeftColor
- Type: Eto.DrawingColor
Color for top/left edges - bottomRightColor
- Type: Eto.DrawingColor
Color for bottom/right edges - rectangle
- Type: Eto.DrawingRectangleF
Outside of inset rectangle to draw - width (Optional)
- Type: SystemInt32
Width of the rectangle, in pixels
See Also