LengthUnit

laika.ast.LengthUnit
See theLengthUnit companion object
sealed abstract class LengthUnit(val displayValue: String) extends Double => Length

A base for builder of CSS-compatible length units.

Attributes

Companion
object
Graph
Supertypes
trait Double => Length
class Object
trait Matchable
class Any
Known subtypes
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
Show all

Members list

Value members

Concrete methods

def apply(amount: Double): Length

Inherited methods

def andThen[A](g: Length => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => Double): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1

Concrete fields

val displayValue: String