-
Notifications
You must be signed in to change notification settings - Fork 1
PainterPath
Bindings for a Graphics object used to create a "path" to be "painted" onto the screen. Once a PainterPath has been completed, it is used to create a PathItem on the GraphicsScene.
void addEllipse (Number x, Number y, Number rx, Number ry)
void addPath (PainterPath other)
void addRect (Number x, Number y, Number width, Number height)
void addRoundedRect (Number x, Number y, Number width, Number height, Number rx, Number ry)
Number angleAtPercent ([Number angle])
void arcMoveTo (Number x, Number y, Number width, Number height, Number angle)
void arcTo (Number x, Number y, Number width, Number height, Number startAngle, Number arcLength)
Object { x, y, width, height } boundingRect ([Object { x, y, width, height } rect])
void closeSubpath ()
void connectPath (PainterPath other)
bool contains (Object { x, y, width, height } rect)
bool contains (PainterPath other)
bool contains (Number x, Number y)
bool contains (Number x, Number y, Number width, Number height)
Number count ()
void cubicTo (Number c1x, Number c1y, Number c2x, Number c2y, Number ex, Number ey)
[Number, Number] currentPosition ()
PainterPath intersected (PainterPath path)
bool intersects (Object { x, y, width, height } rect)
bool intersects (PainterPath path)
bool intersects (Number x, Number y, Number width, Number height)
bool isEmpty ()
Number length ()
void lineTo (Number x, Number y)
void moveTo (Number x, Number y)
void quadTo (Number x1, Number y1, Number x2, Number y2)
PainterPath simplified ()
void translate (Number x, Number y)
PainterPath translated (Number x, Number y)