GraphicsCache.DrawRectangle(Single, Single, Single, Single, Color, Int32) Method
In This Article
Draws a rectangle with the specified border color and thickness.
Namespace: DevExpress.Utils.Drawing
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public void DrawRectangle(
float x,
float y,
float width,
float height,
Color color,
int thickness
)
#Parameters
Name | Type | Description |
---|---|---|
x | Single | An Single value that is the top left corner’s x-coordinate. |
y | Single | An Single value that is the top left corner’s y-coordinate. |
width | Single | A Single value that is the rectangle width. |
height | Single | A Single value that is the rectangle height. |
color | Color | A Color object that specifies the border color. |
thickness | Int32 | An Int32 value that specifies the border thickness. |
See Also