roundRadius

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the roundRadius [of <graphic>] to <number>
Synonymsroundheight,roundwidth
Summary

Specifies how round the corners of a round rectangle are.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the roundRadius to 1
Values
NameTypeDescription
Value

The roundRadius of a graphic is a non-negative integer. By default, the roundRadius of a newly created graphic is set to 15.

RelatedKeyword: roundRect, integer, graphic
Property: roundEnds, pixels
Command: global
Glossary: control, property, non-negative, paint tool
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.

If the graphic's style property is not "roundRect", the setting of this property has no effect.

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.

Tagsui