Package com.openhtmltopdf.css.style
Class Length
java.lang.Object
com.openhtmltopdf.css.style.Length
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MAX_WIDTH
public static final int MAX_WIDTH- See Also:
-
VARIABLE
public static final int VARIABLE- See Also:
-
FIXED
public static final int FIXED- See Also:
-
PERCENT
public static final int PERCENT- See Also:
-
_type
private int _type -
_value
private long _value
-
-
Constructor Details
-
Length
public Length() -
Length
public Length(long value, int type)
-
-
Method Details
-
setValue
public void setValue(long value) -
value
public long value() -
setType
public void setType(int type) -
type
public int type() -
isVariable
public boolean isVariable() -
isFixed
public boolean isFixed() -
isPercent
public boolean isPercent() -
width
public long width(int maxWidth) -
minWidth
public long minWidth(int maxWidth) -
toString
-