MCPcopy Create free account
hub / github.com/eclipse-streamsheets/streamsheets / toRectangle

Method toRectangle

packages/jsg-core/src/graph/Size.js:208–213  ·  view source on GitHub ↗

* Retrieve the width and height as a Rectangle object. The x and y are set to 0. * * @method toRectangle * @param {Rectangle} [reuserect] Rectangle to use as a return value. If not specified, a new * rectangle will be allocated. * @return {Rectangle} Rectangle, containing the width and

(reuserect)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

_getGraphBoundsMethod · 0.45
_getViewBoundsMethod · 0.45
layoutMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
drawBackgroundMethod · 0.45
drawClientAreaMethod · 0.45
_drawAdditionsMethod · 0.45
_drawGridMethod · 0.45
layoutMethod · 0.45
drawSubViewsMethod · 0.45
drawMethod · 0.45

Calls 3

getWidthMethod · 0.95
getHeightMethod · 0.95
getValueMethod · 0.45

Tested by

no test coverage detected