Package com.openhtmltopdf.css.style
Class BackgroundSize
- java.lang.Object
-
- com.openhtmltopdf.css.style.BackgroundSize
-
public class BackgroundSize extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private PropertyValue
_height
private PropertyValue
_width
-
Constructor Summary
Constructors Constructor Description BackgroundSize(PropertyValue width, PropertyValue height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyValue
getHeight()
PropertyValue
getWidth()
boolean
isBothAuto()
boolean
isContain()
boolean
isCover()
-
-
-
Field Detail
-
_width
private final PropertyValue _width
-
_height
private final PropertyValue _height
-
-
Constructor Detail
-
BackgroundSize
public BackgroundSize(PropertyValue width, PropertyValue height)
-
-
Method Detail
-
isContain
public boolean isContain()
-
isCover
public boolean isCover()
-
isBothAuto
public boolean isBothAuto()
-
getWidth
public PropertyValue getWidth()
-
getHeight
public PropertyValue getHeight()
-
-