CirclePath

Parent Path
Library display.*
Revision Release 2022.3683
See also display.newCircle()

Overview

The circle path specifies the geometry of the corresponding circle 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.

Properties

(Inherits properties from Path)

path.radius

Number. Radius of the circle.

Example

local circle = display.newCircle( 160, 240, 10 )
circle.path.radius = 50

transition.to( circle.path, { time=2000, radius=10 } )