D | Rectangle.java | 26 public class Rectangle extends Quad { class 28 public Rectangle() { in Rectangle() method in Rectangle 31 public Rectangle(float x, float y, float width, float height) { in Rectangle() method in Rectangle 38 public Rectangle(Point origin, Point size) { in Rectangle() method in Rectangle 45 public static Rectangle fromRotatedRect(Point center, Point size, float rotation) { in fromRotatedRect() 50 return new Rectangle(p0.rotatedAround(center, rotation), in fromRotatedRect() 56 private Rectangle(Point p0, Point p1, Point p2, Point p3) { in Rectangle() method in Rectangle 60 public static Rectangle fromCenterVerticalAxis(Point center, Point vAxis, Point size) { in fromCenterVerticalAxis() 63 return new Rectangle(center.minus(dx).minus(dy), in fromCenterVerticalAxis() 82 public Rectangle scaled(float s) { in scaled() [all …]
|