Lines Matching defs:height
73 * @param height the height of the rectangle
76 public static Quad fromRect(float x, float y, float width, float height) {
79 new PointF(x, y + height),
80 new PointF(x + width, y + height));
84 * Return a Quad that spans the specified points and height.
86 * The returned Quad has the specified top-left and top-right points, and the specified height
91 * @param height the height of the quad
92 * @return Quad that spans the specified points and height.
94 public static Quad fromLineAndHeight(PointF topLeft, PointF topRight, float height) {
97 PointF np = new PointF(height * (dp.y / len), height * (dp.x / len));