Class RXBuild.UI.Diagram.Box
Extends
RXBuild.UI.Diagram.Renderable.
The RXBuild.UI.Diagram.Box draws the inner renderer with a box around it
Defined in: ui_diagram.js.
Constructor Attributes | Constructor Name and Description |
---|---|
RXBuild.UI.Diagram.Box(innerRenderable, padding, spacing)
Creates a new instance of RXBuild.UI.Diagram.Box (which inherits RXBuild.UI.Diagram.Renderable)
|
Method Attributes | Method Name and Description |
---|---|
draw(render, ctx, x, y, size)
|
|
drawFrame(render, child, frame, overall)
|
|
measure(render)
|
|
remove()
|
Class Detail
RXBuild.UI.Diagram.Box(innerRenderable, padding, spacing)
Creates a new instance of RXBuild.UI.Diagram.Box (which inherits RXBuild.UI.Diagram.Renderable)
- Parameters:
- innerRenderable
- padding
- spacing
Method Detail
draw(render, ctx, x, y, size)
- Parameters:
- render
- ctx
- x
- y
- size
drawFrame(render, child, frame, overall)
- Parameters:
- render
- child
- frame
- overall
measure(render)
- Parameters:
- render
remove()