"cornerRadius"

Rounds the corners of a rectangle.

Synopsis

setValue(string shape, "cornerRadius", unsigned radius);

getValue(string shape, "cornerRadius", unsigned &radius);

shape.cornerRadius(unsigned radius);

Parameters

Parameter Description
shape Name of the object
radius Defines with which factor the corners shall be rounded

Description

Rounds the corners of a rectangle

Example

main()
{
  RECTANGLE1.cornerRadius(10);
}

Assignment

Rectangle