Class CssBuilder


  • public final class CssBuilder
    extends Object
    Static factory methods for different CSS syntax types. Recommended usage is via static imports.
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • cap

        public static String cap​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #CAP.
      • cap

        public static String cap​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #CAP.
      • capitalHeight

        public static String capitalHeight​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #CAPITAL_HEIGHT.
      • capitalHeight

        public static String capitalHeight​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #CAPITAL_HEIGHT.
      • centimeters

        public static String centimeters​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #CENTIMETERS.
      • centimeters

        public static String centimeters​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #CENTIMETERS.
      • ch

        public static String ch​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #CH.
      • ch

        public static String ch​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #CH.
      • characterUnit

        public static String characterUnit​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #CHARACTER_UNIT.
      • characterUnit

        public static String characterUnit​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #CHARACTER_UNIT.
      • cm

        public static String cm​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #CM.
      • cm

        public static String cm​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #CM.
      • declarationList

        public static CssDeclarationListBuilder declarationList()
        Returns:
        A new empty stand-alone CSS declaration list builder.
      • deg

        public static String deg​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DEG.
      • deg

        public static String deg​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DEG.
      • degrees

        public static String degrees​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DEGREES.
      • degrees

        public static String degrees​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DEGREES.
      • dotsPerCentimeter

        public static String dotsPerCentimeter​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DOTS_PER_CENTIMETER.
      • dotsPerCentimeter

        public static String dotsPerCentimeter​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DOTS_PER_CENTIMETER.
      • dotsPerInch

        public static String dotsPerInch​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DOTS_PER_INCH.
      • dotsPerInch

        public static String dotsPerInch​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DOTS_PER_INCH.
      • dotsPerPixel

        public static String dotsPerPixel​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DOTS_PER_PIXEL.
      • dotsPerPixel

        public static String dotsPerPixel​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DOTS_PER_PIXEL.
      • dpcm

        public static String dpcm​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DPCM.
      • dpcm

        public static String dpcm​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DPCM.
      • dpi

        public static String dpi​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DPI.
      • dpi

        public static String dpi​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DPI.
      • dppx

        public static String dppx​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DPPX.
      • dppx

        public static String dppx​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DPPX.
      • dvh

        public static String dvh​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DVH.
      • dvh

        public static String dvh​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DVH.
      • dvw

        public static String dvw​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DVW.
      • dvw

        public static String dvw​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DVW.
      • dynamicViewportHeight

        public static String dynamicViewportHeight​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DYNAMIC_VIEWPORT_HEIGHT.
      • dynamicViewportHeight

        public static String dynamicViewportHeight​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DYNAMIC_VIEWPORT_HEIGHT.
      • dynamicViewportWidth

        public static String dynamicViewportWidth​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DYNAMIC_VIEWPORT_WIDTH.
      • dynamicViewportWidth

        public static String dynamicViewportWidth​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #DYNAMIC_VIEWPORT_WIDTH.
      • em

        public static String em​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #EM.
      • em

        public static String em​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #EM.
      • ex

        public static String ex​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #EX.
      • ex

        public static String ex​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #EX.
      • fontSize

        public static String fontSize​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #FONT_SIZE.
      • fontSize

        public static String fontSize​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #FONT_SIZE.
      • grad

        public static String grad​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #GRAD.
      • grad

        public static String grad​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #GRAD.
      • gradians

        public static String gradians​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #GRADIANS.
      • gradians

        public static String gradians​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #GRADIANS.
      • hertz

        public static String hertz​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #HERTZ.
      • hertz

        public static String hertz​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #HERTZ.
      • hz

        public static String hz​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #HZ.
      • hz

        public static String hz​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #HZ.
      • ic

        public static String ic​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #IC.
      • ic

        public static String ic​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #IC.
      • in

        public static String in​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #IN.
      • in

        public static String in​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #IN.
      • inches

        public static String inches​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #INCHES.
      • inches

        public static String inches​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #INCHES.
      • internationalCharacterUnit

        public static String internationalCharacterUnit​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #INTERNATIONAL_CHARACTER_UNIT.
      • internationalCharacterUnit

        public static String internationalCharacterUnit​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #INTERNATIONAL_CHARACTER_UNIT.
      • khz

        public static String khz​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #KHZ.
      • khz

        public static String khz​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #KHZ.
      • kilohertz

        public static String kilohertz​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #KILOHERTZ.
      • kilohertz

        public static String kilohertz​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #KILOHERTZ.
      • largeViewportHeight

        public static String largeViewportHeight​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #LARGE_VIEWPORT_HEIGHT.
      • largeViewportHeight

        public static String largeViewportHeight​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #LARGE_VIEWPORT_HEIGHT.
      • largeViewportWidth

        public static String largeViewportWidth​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #LARGE_VIEWPORT_WIDTH.
      • largeViewportWidth

        public static String largeViewportWidth​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #LARGE_VIEWPORT_WIDTH.
      • lh

        public static String lh​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #LH.
      • lh

        public static String lh​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #LH.
      • lineHeight

        public static String lineHeight​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #LINE_HEIGHT.
      • lineHeight

        public static String lineHeight​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #LINE_HEIGHT.
      • lvh

        public static String lvh​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #LVH.
      • lvh

        public static String lvh​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #LVH.
      • lvw

        public static String lvw​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #LVW.
      • lvw

        public static String lvw​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #LVW.
      • millimeters

        public static String millimeters​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #MILLIMETERS.
      • millimeters

        public static String millimeters​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #MILLIMETERS.
      • milliseconds

        public static String milliseconds​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #MILLISECONDS.
      • milliseconds

        public static String milliseconds​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #MILLISECONDS.
      • mm

        public static String mm​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #MM.
      • mm

        public static String mm​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #MM.
      • ms

        public static String ms​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #MS.
      • ms

        public static String ms​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #MS.
      • pc

        public static String pc​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #PC.
      • pc

        public static String pc​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #PC.
      • percent

        public static String percent​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #PERCENT.
      • percent

        public static String percent​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #PERCENT.
      • picas

        public static String picas​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #PICAS.
      • picas

        public static String picas​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #PICAS.
      • pixels

        public static String pixels​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #PIXELS.
      • pixels

        public static String pixels​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #PIXELS.
      • points

        public static String points​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #POINTS.
      • points

        public static String points​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #POINTS.
      • pt

        public static String pt​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #PT.
      • pt

        public static String pt​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #PT.
      • px

        public static String px​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #PX.
      • px

        public static String px​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #PX.
      • q

        public static String q​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #Q.
      • q

        public static String q​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #Q.
      • quarterMillimeters

        public static String quarterMillimeters​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #QUARTER_MILLIMETERS.
      • quarterMillimeters

        public static String quarterMillimeters​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #QUARTER_MILLIMETERS.
      • rad

        public static String rad​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #RAD.
      • rad

        public static String rad​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #RAD.
      • radians

        public static String radians​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #RADIANS.
      • radians

        public static String radians​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #RADIANS.
      • rch

        public static String rch​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #RCH.
      • rch

        public static String rch​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #RCH.
      • rem

        public static String rem​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #REM.
      • rem

        public static String rem​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #REM.
      • rex

        public static String rex​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #REX.
      • rex

        public static String rex​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #REX.
      • ric

        public static String ric​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #RIC.
      • ric

        public static String ric​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #RIC.
      • rlh

        public static String rlh​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #RLH.
      • rlh

        public static String rlh​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #RLH.
      • rootCap

        public static String rootCap​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #ROOT_CAP.
      • rootCap

        public static String rootCap​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #ROOT_CAP.
      • rootCapitalHeight

        public static String rootCapitalHeight​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #ROOT_CAPITAL_HEIGHT.
      • rootCapitalHeight

        public static String rootCapitalHeight​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #ROOT_CAPITAL_HEIGHT.
      • rootCharacterUnit

        public static String rootCharacterUnit​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #ROOT_CHARACTER_UNIT.
      • rootCharacterUnit

        public static String rootCharacterUnit​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #ROOT_CHARACTER_UNIT.
      • rootFontSize

        public static String rootFontSize​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #ROOT_FONT_SIZE.
      • rootFontSize

        public static String rootFontSize​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #ROOT_FONT_SIZE.
      • rootInternationalCharacterUnit

        public static String rootInternationalCharacterUnit​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #ROOT_INTERNATIONAL_CHARACTER_UNIT.
      • rootInternationalCharacterUnit

        public static String rootInternationalCharacterUnit​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #ROOT_INTERNATIONAL_CHARACTER_UNIT.
      • rootLineHeight

        public static String rootLineHeight​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #ROOT_LINE_HEIGHT.
      • rootLineHeight

        public static String rootLineHeight​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #ROOT_LINE_HEIGHT.
      • rootXHeight

        public static String rootXHeight​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #ROOT_X_HEIGHT.
      • rootXHeight

        public static String rootXHeight​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #ROOT_X_HEIGHT.
      • ruleList

        public static CssRuleListBuilder ruleList()
        Returns:
        A new empty rule list builder.
      • s

        public static String s​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #S.
      • s

        public static String s​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #S.
      • seconds

        public static String seconds​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #SECONDS.
      • seconds

        public static String seconds​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #SECONDS.
      • selector

        public static CssSelectorBuilder selector()
        Returns:
        A new empty selector builder.
      • smallViewportHeight

        public static String smallViewportHeight​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #SMALL_VIEWPORT_HEIGHT.
      • smallViewportHeight

        public static String smallViewportHeight​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #SMALL_VIEWPORT_HEIGHT.
      • smallViewportWidth

        public static String smallViewportWidth​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #SMALL_VIEWPORT_WIDTH.
      • smallViewportWidth

        public static String smallViewportWidth​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #SMALL_VIEWPORT_WIDTH.
      • svh

        public static String svh​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #SVH.
      • svh

        public static String svh​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #SVH.
      • svw

        public static String svw​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #SVW.
      • svw

        public static String svw​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #SVW.
      • transformList

        public static CssTransformListBuilder transformList()
        Returns:
        A new empty transform list builder.
      • turn

        public static String turn​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #TURN.
      • turn

        public static String turn​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #TURN.
      • turns

        public static String turns​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #TURNS.
      • turns

        public static String turns​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #TURNS.
      • vb

        public static String vb​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VB.
      • vb

        public static String vb​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VB.
      • vh

        public static String vh​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VH.
      • vh

        public static String vh​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VH.
      • vi

        public static String vi​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VI.
      • vi

        public static String vi​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VI.
      • viewportBlockAxis

        public static String viewportBlockAxis​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VIEWPORT_BLOCK_AXIS.
      • viewportBlockAxis

        public static String viewportBlockAxis​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VIEWPORT_BLOCK_AXIS.
      • viewportHeight

        public static String viewportHeight​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VIEWPORT_HEIGHT.
      • viewportHeight

        public static String viewportHeight​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VIEWPORT_HEIGHT.
      • viewportInlineAxis

        public static String viewportInlineAxis​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VIEWPORT_INLINE_AXIS.
      • viewportInlineAxis

        public static String viewportInlineAxis​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VIEWPORT_INLINE_AXIS.
      • viewportMax

        public static String viewportMax​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VIEWPORT_MAX.
      • viewportMax

        public static String viewportMax​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VIEWPORT_MAX.
      • viewportMin

        public static String viewportMin​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VIEWPORT_MIN.
      • viewportMin

        public static String viewportMin​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VIEWPORT_MIN.
      • viewportWidth

        public static String viewportWidth​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VIEWPORT_WIDTH.
      • viewportWidth

        public static String viewportWidth​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VIEWPORT_WIDTH.
      • vmax

        public static String vmax​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VMAX.
      • vmax

        public static String vmax​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VMAX.
      • vmin

        public static String vmin​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VMIN.
      • vmin

        public static String vmin​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VMIN.
      • vw

        public static String vw​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VW.
      • vw

        public static String vw​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #VW.
      • xHeight

        public static String xHeight​(double value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #X_HEIGHT.
      • xHeight

        public static String xHeight​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit #X_HEIGHT.