|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.dom.svg.AbstractSVGTransform
org.apache.batik.dom.svg.AbstractSVGTransformList.SVGTransformItem
Internal representation of the item SVGPoint.
Field Summary | |
protected boolean |
angleOnly
|
protected String |
itemStringValue
String representation of the item. |
protected AbstractSVGList |
parent
List the item belongs to. |
protected boolean |
xOnly
|
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGTransform |
affineTransform, angle, type, x, y |
Fields inherited from interface org.w3c.dom.svg.SVGTransform |
SVG_TRANSFORM_MATRIX, SVG_TRANSFORM_ROTATE, SVG_TRANSFORM_SCALE, SVG_TRANSFORM_SKEWX, SVG_TRANSFORM_SKEWY, SVG_TRANSFORM_TRANSLATE, SVG_TRANSFORM_UNKNOWN |
Constructor Summary | |
protected |
AbstractSVGTransformList.SVGTransformItem()
|
protected |
AbstractSVGTransformList.SVGTransformItem(SVGTransform transform)
|
Method Summary | |
protected SVGMatrix |
createMatrix()
Create a SVGMatrix associated to the transform. |
AbstractSVGList |
getParent()
Return the parent list of the item. |
protected String |
getStringValue()
|
String |
getValueAsString()
Return the cached representation of the item if valid otherwise re-computes the String representation of the item. |
protected void |
matrix(float a,
float b,
float c,
float d,
float e,
float f)
|
protected void |
resetAttribute()
Notifies the parent list that the item has changed. |
protected void |
rotate(float angle)
|
protected void |
scale(float x)
|
void |
setMatrix(SVGMatrix matrix)
|
void |
setParent(AbstractSVGList list)
Assign a parent list to this item. |
void |
setRotate(float angle,
float cx,
float cy)
|
void |
setScale(float sx,
float sy)
|
void |
setSkewX(float angle)
|
void |
setSkewY(float angle)
|
void |
setTranslate(float tx,
float ty)
|
protected void |
translate(float x)
|
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGTransform |
getAngle, getMatrix, getType, getX, getY, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean xOnly
protected boolean angleOnly
protected AbstractSVGList parent
protected String itemStringValue
Constructor Detail |
protected AbstractSVGTransformList.SVGTransformItem()
protected AbstractSVGTransformList.SVGTransformItem(SVGTransform transform)
Method Detail |
protected void resetAttribute()
public void setParent(AbstractSVGList list)
setParent
in interface SVGItem
list
- : list the item belongs.public AbstractSVGList getParent()
getParent
in interface SVGItem
public String getValueAsString()
getValueAsString
in interface SVGItem
protected void translate(float x)
protected void rotate(float angle)
protected void scale(float x)
protected void matrix(float a, float b, float c, float d, float e, float f)
public void setMatrix(SVGMatrix matrix)
setMatrix
in interface SVGTransform
setMatrix
in class AbstractSVGTransform
public void setTranslate(float tx, float ty)
setTranslate
in interface SVGTransform
setTranslate
in class AbstractSVGTransform
public void setScale(float sx, float sy)
setScale
in interface SVGTransform
setScale
in class AbstractSVGTransform
public void setRotate(float angle, float cx, float cy)
setRotate
in interface SVGTransform
setRotate
in class AbstractSVGTransform
public void setSkewX(float angle)
setSkewX
in interface SVGTransform
setSkewX
in class AbstractSVGTransform
public void setSkewY(float angle)
setSkewY
in interface SVGTransform
setSkewY
in class AbstractSVGTransform
protected SVGMatrix createMatrix()
AbstractSVGTransform
createMatrix
in class AbstractSVGTransform
protected String getStringValue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |