Class

scalacss.internal.DslBase

DslNum

Related Doc: package DslBase

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DslNum(self: N)

    Permalink

Value Members

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

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

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

    Permalink

    Size as a percentage.

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

    Permalink
  5. def *(l: Length[N])(implicit N: Numeric[N]): Length[N]

    Permalink
  6. final def ==(arg0: Any): Boolean

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

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

    Permalink

    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.

  9. def cm: Length[N]

    Permalink

    Centimeters.

  10. def dpcm: Resolution[N]

    Permalink

    Dots per centimeter

  11. def dpi: Resolution[N]

    Permalink

    Dots per inch

  12. def dppx: Resolution[N]

    Permalink

    This unit represents the number of dots per px unit.

    This unit represents the number of dots per px unit. Due to the 1:96 fixed ratio of CSS in to CSS px, 1dppx is equivalent to 96dpi, that corresponds to the default resolution of images displayed in CSS as defined by image-resolution.

  13. def em: Length[N]

    Permalink

    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.

  14. def ex: Length[N]

    Permalink

    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.

  15. def getClass(): Class[_ <: AnyVal]

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

    Permalink

    Inches (1in = 2.54 cm).

  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def mm: Length[N]

    Permalink

    Millimeters.

  19. def pc: Length[N]

    Permalink

    Picas (1pc = 12pt).

  20. def pt: Length[N]

    Permalink

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

  21. def px: Length[N]

    Permalink

    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.

  22. def rem: Length[N]

    Permalink

    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.

  23. def toString(): String

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

    Permalink

    1/100th of the height of the viewport.

  25. def vmax: Length[N]

    Permalink

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

  26. def vmin: Length[N]

    Permalink

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

  27. def vw: Length[N]

    Permalink

    1/100th of the width of the viewport.

Inherited from AnyVal

Inherited from Any

Ungrouped