AnnulusShape

interface AnnulusShape : Shape

Represents a shape of annulus in a two-dimensional Euclidean space.

Inheritors

Properties

Link copied to clipboard
abstract val area: Float

Returns the area of this shape.

Link copied to clipboard
abstract val innerDiameter: Float

Returns the inner diameter of this annulus.

Link copied to clipboard
abstract val innerRadius: Float

Returns the inner radius of this annulus.

Link copied to clipboard
abstract val outerDiameter: Float

Returns the outer diameter of this annulus.

Link copied to clipboard
abstract val outerRadius: Float

Returns the outer radius of this annulus.

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 annulus. Width is the difference between the outer radius and the inner radius.