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

Method rect

src/main/java/field/graphics/FLine.java:477–479  ·  view source on GitHub ↗

draws a rectangle.

(Rect r)

Source from the content-addressed store, hash-verified

475 * draws a rectangle with corner `x, y` and width `w` and heght `h`
476 */
477 public FLine rect(double x, double y, double w, double h) {
478 this.moveTo(x, y);
479 this.lineTo(x + w, y);
480 this.lineTo(x + w, y + h);
481 this.lineTo(x, y + h);
482 return this.lineTo(x, y);

Callers 15

showMethod · 0.95
defaultdrawsLinesMethod · 0.95
notifyMethod · 0.95
IsExecutingMethod · 0.95
installMainDecorMethod · 0.95
TypingMethod · 0.95
badgeMethod · 0.95
StatusBarMethod · 0.95
showIncompleteDragMethod · 0.95
addBadgeMethod · 0.95
SelectSubGraphMethod · 0.95
addBadgeMethod · 0.95

Calls 2

moveToMethod · 0.95
lineToMethod · 0.95

Tested by

no test coverage detected