LengthUnit

sealed abstract class LengthUnit(val displayValue: String) extends Double => Length

A base for builder of CSS-compatible length units.

Companion:
object
trait Double => Length
class Object
trait Matchable
class Any
object ch.type
object cm.type
object em.type
object ex.type
object in.type
object mm.type
object pc.type
object percent.type
object pt.type
object px.type
object rem.type
object vh.type
object vmax.type
object vmin.type
object vw.type

Value members

Concrete methods

def apply(amount: Double): Length

Inherited methods

@unspecialized
def andThen[A](g: Length => A): Double => A
Inherited from:
Function1
@unspecialized
def compose[A](g: A => Double): A => Length
Inherited from:
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from:
Function1

Concrete fields

val displayValue: String