Creates a new VideoNode instance and adds it to the nodes collection of the underlying diagram.
Namespace: MindFusion.Diagramming
Package: Factory.js
JavaScript Copy Code |
---|
function createVideoNode ([bounds, [x, [y, [width, [height]]]]]) |
A Rect instance specifying the bounding rectangle of the new node.
Number. The x-coordinate of the upper-left corner of the new node.
Number. The y-coordinate of the upper-left corner of the new node.
Number. The width of the new node.
Number. The height of the new node.
The newly created VideoNode instance.
NetDiagram Programmer's Guide | © 2023 MindFusion |