-
Notifications
You must be signed in to change notification settings - Fork 1
GraphicsScene
JS binding for GraphicsScene. Inherits from UIObject.
N/A
void addItem (GraphicsItem)
void addLine (LineItem line)
LineItem addLine (Number x1, Number y1, Number x2, Number y2)
PathItem addPath (PainterPath, [Pen pen, [Brush brush] ])
void addRect (RectItem rect)
RectItem addRect (Number x, Number y, Number width, Number height, [Pen pen, [Brush brush] ])
void addText (TextItem)
TextItem addText (String text)
Brush backgroundBrush ([Brush brush])
void clearFocus ()
GraphicsItem [] collidingItems (GraphicsItem item)
GraphicsItem focusItem ([GraphicsItem item])
Brush foregroundBrush ([Brush brush])
activePanel
GraphicsItem [] items (SortOrder order)
GraphicsItem [] items (PainterPath path, ItemSelectionMode ism, SortOrder order)
GraphicsItem [] items (Number x, Number y, ItemSelectionMode ism, SortOrder order)
GraphicsItem [] items (Number x, Number y, Number width, Number height, ItemSelectionMode ism, SortOrder order)
void removeItem (GraphicsItem item)
Object { x, y, width, height } sceneRect (*Object { x, y, width, height } *)
GraphicsItem [] selectedItems ()
Number width ()
Number height ()