RoundedRectangleShape

Represents a shape of rounded rectangle in a two-dimensional Euclidean space.

Direct implementations of this interface must consider that new interface members may be added in the next versions of the library. Implementations that are safe to use from a compatibility perspective are those that are defined in the library, like RoundedRectangle.

Inheritors

Properties

Link copied to clipboard
abstract val area: Float

Returns the area of this shape.

Link copied to clipboard
abstract val cornerRadius: Float

Returns the corner radius of this rounded rectangle.

Link copied to clipboard
abstract val height: Float

Returns the height of this rounded rectangle.

Link copied to clipboard
abstract val perimeter: Float

Returns the perimeter of this shape.

Link copied to clipboard
abstract val width: Float

Returns the width of this rounded rectangle.