Lines Matching defs:width

41  * <dt><i>width</i>
42 * <dd>The pen width, measured perpendicularly to the pen trajectory.
60 * width is greater than the miterlimit value. The miter length is
79 * attribute is applied. Therefore, attributes such as the pen width
84 * For example, the width of a rendered shape's outline is determined
85 * not only by the width attribute of this <code>BasicStroke</code>,
100 * When a line is diagonal, the exact width depends on how the
122 * of half the line width.
140 * decoration that has a radius equal to half of the width
148 * to a distance equal to half of the line width.
152 float width;
164 * @param width the width of this <code>BasicStroke</code>. The
165 * width must be greater than or equal to 0.0f. If width is
175 * @throws IllegalArgumentException if <code>width</code> is negative
189 public BasicStroke(float width, int cap, int join, float miterlimit,
191 if (width < 0.0f) {
192 throw new IllegalArgumentException("negative width");
221 this.width = width;
234 * @param width the width of the <code>BasicStroke</code>
238 * @throws IllegalArgumentException if <code>width</code> is negative
246 public BasicStroke(float width, int cap, int join, float miterlimit) {
247 this(width, cap, join, miterlimit, null, 0.0f);
255 * @param width the width of the <code>BasicStroke</code>
258 * @throws IllegalArgumentException if <code>width</code> is negative
264 public BasicStroke(float width, int cap, int join) {
265 this(width, cap, join, 10.0f, null, 0.0f);
270 * line width and with default values for the cap and join
272 * @param width the width of the <code>BasicStroke</code>
273 * @throws IllegalArgumentException if <code>width</code> is negative
275 public BasicStroke(float width) {
276 this(width, CAP_SQUARE, JOIN_MITER, 10.0f, null, 0.0f);
282 * The default attributes are a solid line of width 1.0, CAP_SQUARE,
299 return re.createStrokedShape(s, width, cap, join, miterlimit,
304 * Returns the line width. Line width is represented in user space,
308 * @return the line width of this <code>BasicStroke</code>.
312 return width;
380 int hash = Float.floatToIntBits(width);
400 * its width, join, cap, miter limit, dash, and dash phase attributes with
404 * @return <code>true</code> if the width, join, cap, miter limit, dash, and
414 if (width != bs.width) {