Click or drag to resize

ZebraCardGraphicsDrawRoundedRectangle 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
public 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.

Implements

ZebraGraphicsDrawRoundedRectangle(Int32, Int32, Int32, Int32, Single, Int32, NullableColor, NullableColor)
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf there is an error with the provided arguments.
ZebraCardExceptionIf an error occurs while rendering the rectangle.
See Also