Package 

Interface Length

  • All Implemented Interfaces:
    org.readium.r2.navigator.epub.css.Cssable

    
    public interface Length
     implements Cssable
                        

    CSS length dimension.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public interface Length.Absolute

      Absolute CSS length.

      public final class Length.Cm

      Centimeters

      public final class Length.Mm

      Millimeters

      public final class Length.In

      Inches

      public final class Length.Px

      Pixels

      public final class Length.Pt

      Points

      public final class Length.Pc

      Picas

      public interface Length.Relative

      Relative CSS length.

      public final class Length.Em

      Relative to the font-size of the element.

      public final class Length.Ch

      Relative to the width of the "0" (zero).

      public final class Length.Rem

      Relative to font-size of the root element.

      public final class Length.Vw

      Relative to 1% of the width of the viewport.

      public final class Length.Vh

      Relative to 1% of the height of the viewport.

      public final class Length.VMin

      Relative to 1% of viewport's smaller dimension.

      public final class Length.VMax

      Relative to 1% of viewport's larger dimension.

      public final class Length.Percent

      Relative to the parent element.

    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class org.readium.r2.navigator.epub.css.Length

        toCss
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait