Package org.loboevolution.html.dom.svg
Interface SVGTransform
- All Known Implementing Classes:
SVGTransformImpl
public interface SVGTransform
SVGTransform interface.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final short
Constant SVG_TRANSFORM_MATRIX=1static final short
Constant SVG_TRANSFORM_ROTATE=4static final short
Constant SVG_TRANSFORM_SCALE=3static final short
Constant SVG_TRANSFORM_SKEWX=5static final short
Constant SVG_TRANSFORM_SKEWY=6static final short
Constant SVG_TRANSFORM_TRANSLATE=2static final short
Constant SVG_TRANSFORM_UNKNOWN=0 -
Method Summary
Modifier and TypeMethodDescriptionfloat
getAngle()
getAngle.getMatrix.short
getType()
getType.void
setMatrix.void
setRotate
(float angle, float cx, float cy) setRotate.void
setScale
(float sx, float sy) setScale.void
setSkewX
(float angle) setSkewX.void
setSkewY
(float angle) setSkewY.void
setTranslate
(float tx, float ty) setTranslate.
-
Field Details
-
SVG_TRANSFORM_UNKNOWN
static final short SVG_TRANSFORM_UNKNOWNConstant SVG_TRANSFORM_UNKNOWN=0- See Also:
-
SVG_TRANSFORM_MATRIX
static final short SVG_TRANSFORM_MATRIXConstant SVG_TRANSFORM_MATRIX=1- See Also:
-
SVG_TRANSFORM_TRANSLATE
static final short SVG_TRANSFORM_TRANSLATEConstant SVG_TRANSFORM_TRANSLATE=2- See Also:
-
SVG_TRANSFORM_SCALE
static final short SVG_TRANSFORM_SCALEConstant SVG_TRANSFORM_SCALE=3- See Also:
-
SVG_TRANSFORM_ROTATE
static final short SVG_TRANSFORM_ROTATEConstant SVG_TRANSFORM_ROTATE=4- See Also:
-
SVG_TRANSFORM_SKEWX
static final short SVG_TRANSFORM_SKEWXConstant SVG_TRANSFORM_SKEWX=5- See Also:
-
SVG_TRANSFORM_SKEWY
static final short SVG_TRANSFORM_SKEWYConstant SVG_TRANSFORM_SKEWY=6- See Also:
-
-
Method Details
-
getType
short getType()getType.
- Returns:
- a short.
-
getMatrix
SVGMatrix getMatrix()getMatrix.
- Returns:
- a
SVGMatrix
object.
-
getAngle
float getAngle()getAngle.
- Returns:
- a float.
-
setMatrix
setMatrix.
- Parameters:
matrix
- aSVGMatrix
object.
-
setTranslate
void setTranslate(float tx, float ty) setTranslate.
- Parameters:
tx
- a float.ty
- a float.
-
setScale
void setScale(float sx, float sy) setScale.
- Parameters:
sx
- a float.sy
- a float.
-
setRotate
void setRotate(float angle, float cx, float cy) setRotate.
- Parameters:
angle
- a float.cx
- a float.cy
- a float.
-
setSkewX
void setSkewX(float angle) setSkewX.
- Parameters:
angle
- a float.
-
setSkewY
void setSkewY(float angle) setSkewY.
- Parameters:
angle
- a float.
-