public BasicStrokeW(double width, String cap, String join, double miterLimit) { this.width = width; this.cap = getLineCap(LineCap.valueOf(cap.toUpperCase())); this.join = getLineJoin(LineJoin.valueOf(join.toUpperCase())); this.miterLimit = miterLimit; }
stroke.setPropertyString("joinstyle", path.getStrokeLineJoin().getValue());
/** * Sets the line-join style. * * @param lineJoin the line join style as a {@link LineJoin} value * @see #getLineJoin() */ public final void setLineJoin(LineJoin lineJoin) { setLineJoin(lineJoin.getValue()); }
/** * Sets the line-join style. * * @param lineJoin the line join style as a {@link LineJoin} value * @see #getLineJoin() */ public final void setLineJoin(LineJoin lineJoin) { setLineJoin(lineJoin.getValue()); }
/** * Sets the line-join style. * * @param lineJoin the line join style as a {@link LineJoin} value * @see #getLineJoin() */ public final void setLineJoin(LineJoin lineJoin) { setLineJoin(lineJoin.getValue()); }