Parent Path Library display.* Revision 2017.3060 See also display.newRoundedRect() Perspective and Depth (guide)
The rounded rectangle path specifies the geometry of the corresponding rounded rectangle object.
This path has limited properties which let you manipulate specific aspects of the shape object. These aspects can either be set explicitly or animated via a transition.
(Inherits properties from Path)
Number. Height of the rounded rectangle.
Number. Radius of the rounded rectangle corners.
Number. Width of the rounded rectangle.
local roundedRect = display.newRoundedRect( 160, 240, 150, 50, 10 ) roundedRect.path.radius = 20 transition.to( roundedRect.path, { time=2000, width=100, height=100, radius=5 } )