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 ECssUnit.CAP.
      • cap

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

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

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

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

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

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

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

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

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

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

        public static String cm​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit ECssUnit.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 ECssUnit.DEG.
      • deg

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public static String rootXHeight​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit ECssUnit.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 ECssUnit.S.
      • s

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

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

        public static String seconds​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit ECssUnit.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 ECssUnit.SMALL_VIEWPORT_HEIGHT.
      • smallViewportHeight

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

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

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

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

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

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

        public static String svw​(long value)
        Parameters:
        value - Numerical value.
        Returns:
        The value together with the unit ECssUnit.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 ECssUnit.TURN.
      • turn

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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