Class BackgroundSize

java.lang.Object
org.xhtmlrenderer.css.style.BackgroundSize

public class BackgroundSize extends Object
  • Field Details

    • _contain

      private boolean _contain
    • _cover

      private boolean _cover
    • _bothAuto

      private boolean _bothAuto
    • _width

      private PropertyValue _width
    • _height

      private PropertyValue _height
  • Constructor Details

    • BackgroundSize

      public BackgroundSize(boolean contain, boolean cover, boolean bothAuto)
    • BackgroundSize

      public BackgroundSize(PropertyValue width, PropertyValue height)
  • Method Details

    • isContain

      public boolean isContain()
    • isCover

      public boolean isCover()
    • isBothAuto

      public boolean isBothAuto()
    • getWidth

      public PropertyValue getWidth()
    • getHeight

      public PropertyValue getHeight()