public class RectPropertySet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static RectPropertySet |
ALL_ZEROS |
Constructor and Description |
---|
RectPropertySet(CSSName cssName,
float top,
float right,
float bottom,
float left) |
Modifier and Type | Method and Description |
---|---|
float |
bottom() |
RectPropertySet |
copyOf() |
float |
getLeftRightDiff() |
boolean |
hasNegativeValues() |
float |
height() |
boolean |
isAllZeros() |
float |
left() |
static RectPropertySet |
newInstance(CalculatedStyle style,
CSSName shortHandProperty,
CSSName[] sideProperties,
float cbWidth,
CssContext ctx) |
void |
resetNegativeValues() |
float |
right() |
void |
setBottom(float _bottom) |
void |
setLeft(float _left) |
void |
setRight(float _right) |
void |
setTop(float _top) |
float |
top() |
java.lang.String |
toString() |
float |
width() |
public static final RectPropertySet ALL_ZEROS
public RectPropertySet(CSSName cssName, float top, float right, float bottom, float left)
public static RectPropertySet newInstance(CalculatedStyle style, CSSName shortHandProperty, CSSName[] sideProperties, float cbWidth, CssContext ctx)
public java.lang.String toString()
toString
in class java.lang.Object
public float top()
public float right()
public float bottom()
public float left()
public float getLeftRightDiff()
public float height()
public float width()
public void setTop(float _top)
public void setRight(float _right)
public void setBottom(float _bottom)
public void setLeft(float _left)
public RectPropertySet copyOf()
public boolean isAllZeros()
public boolean hasNegativeValues()
public void resetNegativeValues()