Length

case class Length(amount: Double, unit: LengthUnit)

Encapsulates size information with a CSS-compatible length unit.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def displayValue: String
def scale(percent: Double): Length

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product