MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / getViewRect

Method getViewRect

src/main/java/fieldbox/boxes/plugins/Typing.java:153–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151 return breadthFirst(both()).filter(x -> x.properties.isTrue(Mouse.isSelected, false));
152 }
153 public Optional<Rect> getViewRect() {
154 return this.first(Drawing.drawing, both())
155 .map(d -> d.getCurrentViewBounds(this));
156 }
157}

Callers 1

TypingMethod · 0.95

Calls 4

firstMethod · 0.80
getCurrentViewBoundsMethod · 0.80
mapMethod · 0.45
bothMethod · 0.45

Tested by

no test coverage detected