org.apache.batik.dom.svg
protected class AbstractSVGTransformList.SVGTransformItem extends AbstractSVGTransform implements SVGItem
Field Summary | |
---|---|
protected boolean | angleOnly
Whether the rotation transform value specifies only an angle. |
protected String | itemStringValue
String representation of the item.
|
protected AbstractSVGList | parent
List the item belongs to. |
protected boolean | xOnly
Whether the transform value specifies only an x value, no y value. |
Constructor Summary | |
---|---|
protected | SVGTransformItem()
Creates a new, uninitialized SVGTransformItem. |
protected | SVGTransformItem(SVGTransform transform)
Creates a new SVGTransformItem from the given {@link SVGTransform}. |
Method Summary | |
---|---|
void | assign(SVGTransform transform)
Copies the values from the given {@link SVGTransform} into this
{@link SVGTransformItem}. |
protected SVGMatrix | createMatrix()
Creates the {@link SVGMatrix} used to store the transform. |
AbstractSVGList | getParent()
Returns the parent list of this item. |
protected String | getStringValue()
Returns the string representation of this transform. |
String | getValueAsString()
Returns the cached representation of the item if valid, otherwise
recomputes the String representation of the item. |
protected void | matrix(float a, float b, float c, float d, float e, float f)
Sets the transform to be a matrix transform. |
protected void | resetAttribute()
Notifies the parent list that this item has changed. |
protected void | rotate(float angle)
Sets the transform to be rotation. |
protected void | scale(float x)
Sets the transform to be an x scale. |
void | setMatrix(SVGMatrix matrix)
DOM: Implements {@link SVGTransform#setMatrix(SVGMatrix)}. |
void | setParent(AbstractSVGList list)
Assigns a parent list to this item. |
void | setRotate(float angle, float cx, float cy)
DOM: Implements {@link
SVGTransform#setRotate(float,float,float)}. |
void | setScale(float sx, float sy)
DOM: Implements {@link SVGTransform#setScale(float,float)}. |
void | setSkewX(float angle)
DOM: Implements {@link SVGTransform#setSkewX(float)}. |
void | setSkewY(float angle)
DOM: Implements {@link SVGTransform#setSkewY(float)}. |
void | setTranslate(float tx, float ty)
DOM: Implements {@link SVGTransform#setTranslate(float,float)}. |
protected void | translate(float x)
Sets the transform to be an x translation. |
Parameters: list The list the item belongs.