Click or drag to resize

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
)

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