Skip to main content

roundRadius

Type

property

Summary

Specifies how round the corners of a round rectangle are.

Syntax

set the roundRadius [of <graphic>] to <number>

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.

Examples

set the roundRadius to 1

command: global

glossary: control, property, non-negative, paint tool

keyword: roundRect, integer, graphic

property: roundEnds, pixels

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?