Rectangle

io.github.srs.model.ShapeType.Rectangle
final case class Rectangle(width: Double, height: Double)

A rectangular shape.

Value parameters

height

the height of the rectangle, must be a positive value.

width

the width of the rectangle, must be a positive value.

Attributes

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product