Click or drag to resize

ZebraGraphicsDrawRoundedRectangle Method

Draws a round-cornered rectangle at the specified coordinates.

Namespace:  Zebra.Sdk.Card.Graphics
Assembly:  SdkApi_Card_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax
void DrawRoundedRectangle(
	int x,
	int y,
	int width,
	int height,
	float radius,
	int lineThickness,
	Nullable<Color> lineColor,
	Nullable<Color> fillColor
)

Parameters

x
Type: SystemInt32
The x coordinate.
y
Type: SystemInt32
The y coordinate.
width
Type: SystemInt32
The width of the rectangle.
height
Type: SystemInt32
The height of the rectangle.
radius
Type: SystemSingle
The corner radius of the rectangle.
lineThickness
Type: SystemInt32
The line thickness of the rectangle.
lineColor
Type: SystemNullableColor
The line color of the rectangle.
fillColor
Type: SystemNullableColor
The fill color of the rectangle.
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf there is an error with the provided arguments.
ZebraCardExceptionIf an error occurs while rendering the rectangle.
See Also