We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
(part of UI)
Returns: size object
Parameters: aSize (size), bSize (size)
Returns aSize offset by bSize. bSize's properties may be negative in order to shift aSize negatively.
aSize
bSize
var aSize = UI.makeSize ( 100, 150 ); var bSize = UI.makeSize ( 10, -10 ); var cSize = UI.offsetSize ( aSize, bSize ); // cSize is now { w: 110, h: 140 }
0.3 Introduced; Docs Valid