PathMakeWithRoundedRectangleWithRadius

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
rounded rectangle path of <mRect> with radius <mRadius>
Associationscom.livecode.canvas
Summary

Creates a new path. mRadii:An expression which evaluates to a list of numbers.

Parameters
NameTypeDescription
mRect

An expression which evaluates to a rectangle.

mRadius

An expression which evaluates to a number.

Example
// Create a rounded rectangle path
variable tPath as Path
put rounded rectangle path of rectangle [10,10,210,60] with radius 15 into tPath
// Create a rounded rectangle path with different horizontal & vertical radii
variable tPath as Path
put rounded rectangle path of rectangle [10,10,210,60] with radii [10,5] into tPath
Values
NameTypeDescription
return

A new rounded rectangle path.

Description

Creates a new path. mRadii:An expression which evaluates to a list of numbers.

Tagscanvas