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

Method selection

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

Source from the content-addressed store, hash-verified

148
149
150 private Stream<Box> selection() {
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));

Callers 1

goMethod · 0.95

Calls 3

breadthFirstMethod · 0.80
isTrueMethod · 0.80
bothMethod · 0.45

Tested by

no test coverage detected