public class Paper extends Element
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier | Constructor and Description |
---|---|
protected |
Paper(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static Paper |
$as(Object obj) |
Element |
circle(double x,
double y,
double r) |
void |
clear() |
Element |
el(String name,
Objs attr) |
Element |
ellipse(double x,
double y,
double rx,
double ry) |
Element |
filter(String filstr) |
Object |
g() |
Object |
g(Object varargs) |
Object |
gradient(String gradient) |
Object |
group(Object... els) |
Element |
image(String src,
double x,
double y,
double width,
double height) |
Element |
line(double x1,
double y1,
double x2,
double y2) |
Objs |
mask(Object varargs) |
Element |
path() |
Element |
path(String pathString) |
Element |
polygon(Object[] varargs) |
Element |
polyline(Object[] varargs) |
Objs |
ptrn(double x,
double y,
double width,
double height,
double vbx,
double vby,
double vbw,
double vbh) |
Element |
rect(double x,
double y,
double width,
double height) |
Element |
rect(double x,
double y,
double width,
double height,
double rx) |
Element |
rect(double x,
double y,
double width,
double height,
double rx,
double ry) |
Objs |
svg(double x,
double y,
double width,
double height,
double vbx,
double vby,
double vbw,
double vbh) |
Element |
text(double x,
double y,
Array<Union.A2<String,Number>> text) |
Element |
text(double x,
double y,
double text) |
Element |
text(double x,
double y,
String text) |
String |
toDataUrl() |
Objs |
use() |
Objs |
use(Element id) |
Objs |
use(String id) |
add, addClass, after, align, animate, animate, animate, animate, append, appendTo, asPX, asPX, attr, attr, before, click, click, clone, data, data, dblclick, dblclick, drag, drag, drag, drag, drag, getAlign, getBBox, getPointAtLength, getSubpath, getTotalLength, hasClass, hover, hover, hover, children, inAnim, innerSVG, insertAfter, insertBefore, marker, mousedown, mousedown, mousemove, mousemove, mouseout, mouseout, mouseover, mouseover, mouseup, mouseup, node, outerSVG, parent, pattern, prepend, prependTo, remove, removeClass, removeData, removeData, select, selectAll, selectAll, stop, toDefs, toggleClass, toJSON, toPattern, toPattern, touchcancel, touchcancel, touchend, touchend, touchmove, touchmove, touchstart, touchstart, transform, transform, type, unclick, unclick, undblclick, undrag, undrag, unhover, unmousedown, unmousemove, unmouseout, unmouseover, unmouseup, untouchcancel, untouchend, untouchmove, untouchstart
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
protected Paper(Objs.Constructor<?> c, Object js)
public Element circle(double x, double y, double r)
public void clear()
public Element ellipse(double x, double y, double rx, double ry)
public Object g()
public Element line(double x1, double y1, double x2, double y2)
public Element path()
public Objs ptrn(double x, double y, double width, double height, double vbx, double vby, double vbw, double vbh)
public Element rect(double x, double y, double width, double height, double rx, double ry)
public Element rect(double x, double y, double width, double height)
public Element rect(double x, double y, double width, double height, double rx)
public Objs svg(double x, double y, double width, double height, double vbx, double vby, double vbw, double vbh)
public Element text(double x, double y, double text)
public String toDataUrl()
Copyright © 2018. All rights reserved.