Lines Matching defs:width
34 public double width;
57 * @param cornerDimensions array of 8 floating-point number corresponding to the width and
60 * is that the width and height of a corner correspond to the total width and height of the
63 public RoundRectangle(float x, float y, float width, float height, float[] cornerDimensions) {
69 this.width = width;
87 double scale = Math.min(1.0, width / topCornerWidth);
88 scale = Math.min(scale, width / bottomCornerWidth);
114 return width;
124 return (width <= 0d) || (height <= 0d);
131 this.width = w;
137 return new Rectangle2D.Double(x, y, width, height);
189 private boolean isInsideCorner(double x, double y, double width, double height) {
190 double squareDist = height * height * x * x + width * width * y * y;
191 return squareDist <= width * width * height * height;
341 coords[nc++] = (float) (x + ctrls[i] * width + ctrls[i + 1] / 2d);
358 coords[nc++] = x + ctrls[i] * width + ctrls[i + 1] / 2d;