@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="SVGTransform")
public class SVGTransform
extends java.lang.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 |
| Modifier | Constructor and Description |
|---|---|
protected |
SVGTransform() |
| Modifier and Type | Method and Description |
|---|---|
float |
angle() |
DOMMatrix |
matrix() |
void |
setMatrix(DOMMatrixReadOnly matrix) |
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) |
int |
type() |
@JsOverlay public static final int SVG_TRANSFORM_MATRIX
@JsOverlay public static final int SVG_TRANSFORM_ROTATE
@JsOverlay public static final int SVG_TRANSFORM_SCALE
@JsOverlay public static final int SVG_TRANSFORM_SKEWX
@JsOverlay public static final int SVG_TRANSFORM_SKEWY
@JsOverlay public static final int SVG_TRANSFORM_TRANSLATE
@JsOverlay public static final int SVG_TRANSFORM_UNKNOWN
@JsProperty(name="angle") public float angle()
@JsProperty(name="matrix") @Nonnull public DOMMatrix matrix()
@JsProperty(name="type") public int type()
public void setMatrix(@Nonnull
DOMMatrixReadOnly matrix)
public void setRotate(float angle,
float cx,
float cy)
public void setScale(float sx,
float sy)
public void setSkewX(float angle)
public void setSkewY(float angle)
public void setTranslate(float tx,
float ty)