Searched defs:center (Results 1 - 2 of 2) sorted by relevance

/system/media/mca/filterfw/java/android/filterfw/geometry/
H A DPoint.java105 public Point rotatedAround(Point center, float radians) { argument
106 return this.minus(center).rotated(radians).plus(center);
H A DRectangle.java45 public static Rectangle fromRotatedRect(Point center, Point size, float rotation) { argument
46 Point p0 = new Point(center.x - size.x/2f, center.y - size.y/2f);
47 Point p1 = new Point(center.x + size.x/2f, center.y - size.y/2f);
48 Point p2 = new Point(center.x - size.x/2f, center.y + size.y/2f);
49 Point p3 = new Point(center.x + size.x/2f, center.y + size.y/2f);
50 return new Rectangle(p0.rotatedAround(center, rotatio
60 fromCenterVerticalAxis(Point center, Point vAxis, Point size) argument
77 public Point center() { method in class:Rectangle
[all...]

Completed in 500 milliseconds