NodeWithSize constructor
Creates a new NodeWithSize.
The default size
is zero and the default pivot point is the origin. Subclasses may change the default values.
var myNodeWithSize = new NodeWithSize(new Size(1024.0, 1024.0));
Implementation
NodeWithSize(this.size) {
if (size == null)
size = Size.zero;
pivot = Offset.zero;
}