Package ilcd
Class Attribute

Public Method setRectangleCornerRadius

static void setRectangleCornerRadius(int radius)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Parameter Range Description
radius 1 ... max[the smaller value of the rectangle (height, width) divided by 2] radius of rectangle corners

Sets the corner radius for subsequently drawn rectangles.

Note

Example

Attribute.setRectangleCornerRadius(25);

All subsequently rectangle drawing will be done with a corner radius of 25 pixels if the rounded corners flag is set.

See also:

Draw.drawRectangle(int, int, int)
Attribute.setShadowOffset(int, int)
Attribute.setLineThickness(int)