Specifies how round the corners of a round rectangle are.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
set the roundRadius [of graphic] to number
# Examples
set the roundRadius to 1
# Description
Use the roundRadius property to control the appearance of rounded rectangles.
The roundRadius determines the diameter of the circle used to draw the corners of a round rectangle. For example, if a round rectangle's roundRadius is 15, each corner of the rectangle is an arc of a circle whose diameter is 15 pixels.
The global setting of the roundRadius property controls the appearance of round rectangles drawn with the roundRect paint tool. Once a paint rounded rectangle is drawn, its appearance cannot be changed by changing the global roundRadius property.
# Tags
ui,
# See
- **keyword:** roundRect, integer, graphic - **property:** roundEnds, pixels - **command:** global - **glossary:** control, property, non-negative, paint tool