@JsType(isNative=true, name="SVGTransform", namespace="<global>") public class SVGTransform extends Object
Modifier and Type | Field and Description |
---|---|
static int |
SVG_TRANSFORM_MATRIX |
static int |
SVG_TRANSFORM_ROTATE |
static int |
SVG_TRANSFORM_SCALE |
static int |
SVG_TRANSFORM_SKEWX |
static int |
SVG_TRANSFORM_SKEWY |
static int |
SVG_TRANSFORM_TRANSLATE |
static int |
SVG_TRANSFORM_UNKNOWN |
Constructor and Description |
---|
SVGTransform() |
Modifier and Type | Method and Description |
---|---|
double |
getAngle() |
SVGMatrix |
getMatrix() |
int |
getType() |
void |
setMatrix(SVGMatrix matrix) |
void |
setRotate(double angle,
double cx,
double cy) |
void |
setScale(double sx,
double sy) |
void |
setSkewX(double angle) |
void |
setSkewY(double angle) |
void |
setTranslate(double tx,
double ty) |
@JsOverlay public static final int SVG_TRANSFORM_UNKNOWN
@JsOverlay public static final int SVG_TRANSFORM_MATRIX
@JsOverlay public static final int SVG_TRANSFORM_TRANSLATE
@JsOverlay public static final int SVG_TRANSFORM_SCALE
@JsOverlay public static final int SVG_TRANSFORM_ROTATE
@JsOverlay public static final int SVG_TRANSFORM_SKEWX
@JsOverlay public static final int SVG_TRANSFORM_SKEWY
@JsProperty(name="type") public int getType()
@JsProperty(name="matrix") public SVGMatrix getMatrix()
@JsProperty(name="angle") public double getAngle()
public void setMatrix(SVGMatrix matrix)
public void setTranslate(double tx, double ty)
public void setScale(double sx, double sy)
public void setRotate(double angle, double cx, double cy)
public void setSkewX(double angle)
public void setSkewY(double angle)
Copyright © 2018 Xalys. All rights reserved.