< prev index next >
src/java.desktop/share/classes/sun/java2d/pisces/Stroker.java
Print this page
*** 97,116 ****
private float smx, smy, cmx, cmy;
private final PolyStack reverse = new PolyStack();
/**
! * Constructs a <code>Stroker</code>.
*
! * @param pc2d an output <code>PathConsumer2D</code>.
* @param lineWidth the desired line width in pixels
* @param capStyle the desired end cap style, one of
! * <code>CAP_BUTT</code>, <code>CAP_ROUND</code> or
! * <code>CAP_SQUARE</code>.
* @param joinStyle the desired line join style, one of
! * <code>JOIN_MITER</code>, <code>JOIN_ROUND</code> or
! * <code>JOIN_BEVEL</code>.
* @param miterLimit the desired miter limit
*/
public Stroker(PathConsumer2D pc2d,
float lineWidth,
int capStyle,
--- 97,116 ----
private float smx, smy, cmx, cmy;
private final PolyStack reverse = new PolyStack();
/**
! * Constructs a {@code Stroker}.
*
! * @param pc2d an output {@code PathConsumer2D}.
* @param lineWidth the desired line width in pixels
* @param capStyle the desired end cap style, one of
! * {@code CAP_BUTT}, {@code CAP_ROUND} or
! * {@code CAP_SQUARE}.
* @param joinStyle the desired line join style, one of
! * {@code JOIN_MITER}, {@code JOIN_ROUND} or
! * {@code JOIN_BEVEL}.
* @param miterLimit the desired miter limit
*/
public Stroker(PathConsumer2D pc2d,
float lineWidth,
int capStyle,
< prev index next >