Size.copy constructor

Size.copy(
  1. Size source
)

Creates an instance of Size that has the same values as another.

Implementation

// Used by the rendering library's _DebugSize hack.
Size.copy(Size source) : super(source.width, source.height);