Circle

data class Circle(val radiusPx: Float? = null) : PhysicsShape

Circle shape.

If radiusPx is null, the implementation may infer the radius from the current layout size (for example, min(width, height) / 2).

Constructors

Link copied to clipboard
constructor(radiusPx: Float? = null)

Properties

Link copied to clipboard

Circle radius in pixels. Must be > 0 when specified.