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

Method frame

src/main/java/fieldbox/boxes/Intersects.java:38–40  ·  view source on GitHub ↗
(Box hitBox)

Source from the content-addressed store, hash-verified

36
37
38 static protected Rect frame(Box hitBox) {
39 return hitBox.properties.get(Box.frame);
40 }
41
42 static protected float order(Rect r, boolean textEditor) {
43 return Math.abs(r.w) + Math.abs(r.h) - (textEditor ? 1000 : 0);

Callers 1

startAtMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected