scalacss.DslBase

DslNum

Related Doc: package DslBase

final class DslNum[N] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DslNum
  2. AnyVal
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DslNum(self: N)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. def %%: Percentage[N]

    Size as a percentage.

    Size as a percentage.

    Annotations
    @inline()
  4. def *(l: Resolution[N])(implicit N: Numeric[N]): Resolution[N]

    Annotations
    @inline()
  5. def *(l: Length[N])(implicit N: Numeric[N]): Length[N]

    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def ch: Length[N]

    This unit represents the width, or more precisely the advance measure, of the glyph '0' (zero, the Unicode character U+0030) in the element's font.

    This unit represents the width, or more precisely the advance measure, of the glyph '0' (zero, the Unicode character U+0030) in the element's font.

    Annotations
    @inline()
  9. def cm: Length[N]

    Centimeters.

    Centimeters.

    Annotations
    @inline()
  10. def dpcm: Resolution[N]

    Dots per centimeter

    Dots per centimeter

    Annotations
    @inline()
  11. def dpi: Resolution[N]

    Dots per inch

    Dots per inch

    Annotations
    @inline()
  12. def em: Length[N]

    This unit represents the calculated font-size of the element.

    This unit represents the calculated font-size of the element. If used on the font-size property itself, it represents the inherited font-size of the element.

    Annotations
    @inline()
  13. def ex: Length[N]

    This unit represents the x-height of the element's font.

    This unit represents the x-height of the element's font. On fonts with the 'x' letter, this is generally the height of lowercase letters in the font; 1ex ≈ 0.5em in many fonts.

    Annotations
    @inline()
  14. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  15. def in: Length[N]

    Inches (1in = 2.54 cm).

    Inches (1in = 2.54 cm).

    Annotations
    @inline()
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def mm: Length[N]

    Millimeters.

    Millimeters.

    Annotations
    @inline()
  18. def pc: Length[N]

    Picas (1pc = 12pt).

    Picas (1pc = 12pt).

    Annotations
    @inline()
  19. def pt: Length[N]

    Points (1pt = 1/72 of 1in).

    Points (1pt = 1/72 of 1in).

    Annotations
    @inline()
  20. def px: Length[N]

    Pixel.

    Pixel. Relative to the viewing device. For screen display, typically one device pixel (dot) of the display. For printers and very high resolution screens one CSS pixel implies multiple device pixels, so that the number of pixel per inch stays around 96.

    Annotations
    @inline()
  21. def rem: Length[N]

    This unit represents the font-size of the root element (e.g.

    This unit represents the font-size of the root element (e.g. the font-size of the <html> element). When used on the font-size on this root element, it represents its initial value.

    Annotations
    @inline()
  22. val self: N

  23. def toString(): String

    Definition Classes
    Any
  24. def vh: Length[N]

    1/100th of the height of the viewport.

    1/100th of the height of the viewport.

    Annotations
    @inline()
  25. def vmax: Length[N]

    1/100th of the maximum value between the height and the width of the viewport.

    1/100th of the maximum value between the height and the width of the viewport.

    Annotations
    @inline()
  26. def vmin: Length[N]

    1/100th of the minimum value between the height and the width of the viewport.

    1/100th of the minimum value between the height and the width of the viewport.

    Annotations
    @inline()
  27. def vw: Length[N]

    1/100th of the width of the viewport.

    1/100th of the width of the viewport.

    Annotations
    @inline()

Inherited from AnyVal

Inherited from Any

Ungrouped