| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| public static final int | CAP_BUTT
Constant value for end cap style. |
| public static final int | CAP_ROUND
Constant value for end cap style. |
| public static final int | CAP_SQUARE
Constant value for end cap style. |
| pack-priv float[] | |
| pack-priv float | |
| pack-priv int | |
| public static final int | JOIN_BEVEL
Constant value for join style. |
| public static final int | JOIN_MITER
Constant value for join style. |
| public static final int | JOIN_ROUND
Constant value for join style. |
| pack-priv float | |
| private static final int | |
| pack-priv static final float | |
| private float[] | |
| pack-priv int | |
| public static final int | |
| public static final int | |
| public static final int | |
| pack-priv float |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | |
| public | BasicStroke(int type, float width, int cap, int join, float miterLimit, float[] dash, float dashPhase)
|
| public | BasicStroke(int type, float width, int cap, int join, float miterLimit, double[] dash, float dashPhase)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | accumulateJoin(float pdx, float pdy, float dx, float dy, float x0, float y0, float pox, float poy, float ox, float oy, float[] bbox, float w)
|
| private void | accumulateMiter(float pdx, float pdy, float dx, float dy, float pox, float poy, float ox, float oy, float x0, float y0, float[] bbox, float w)
|
| private void | |
| private void | |
| public void | |
| private void | computeMiter(final float x0, final float y0, final float x1, final float y1, final float x0p, final float y0p, final float x1p, final float y1p, final float[] m, int off)
|
| private void | |
| public BasicStroke | |
| public Shape | |
| public Shape | |
| public boolean | Returns: true if the width, join, cap, miter limit, dash, and
dash phase are the same for both objects;
false otherwise.the specified object to compare to this
obj)BasicStrokeOverrides java. Tests if a specified object is equal to this |
| public float[] | Returns: the dash array.Returns the array representing the lengths of the dash segments. |
| public float | |
| public int | Returns: the end cap style of thisBasicStroke as one
of the static int values that define possible end cap
styles.Returns the end cap style. |
| public int | Returns: the line join style of theBasicStroke as one
of the static int values that define possible line
join styles.Returns the line join style. |
| public float | |
| public float | Returns: the limit of miter joins of theBasicStroke.Returns the limit of miter joins. |
| public int | Returns: the stroke typeReturns the stroke type, one of |
| public int | Returns: a hash code for this stroke.Overrides java. Returns the hashcode for this stroke. |
| private boolean | |
| public boolean | Returns: whether the stroke has dashesReturns true if this stroke object will apply dashing attributes to the path. |
| pack-priv static Shape | |
| protected Shape | |
| protected Shape | |
| public void | |
| public void | |
| public void | |
| pack-priv Shape |
| cap | back to summary |
|---|---|
| pack-priv int cap | |
| CAP_BUTT | back to summary |
|---|---|
| public static final int CAP_BUTT Constant value for end cap style. | |
| CAP_ROUND | back to summary |
|---|---|
| public static final int CAP_ROUND Constant value for end cap style. | |
| CAP_SQUARE | back to summary |
|---|---|
| public static final int CAP_SQUARE Constant value for end cap style. | |
| dash | back to summary |
|---|---|
| pack-priv float[] dash | |
| dashPhase | back to summary |
|---|---|
| pack-priv float dashPhase | |
| join | back to summary |
|---|---|
| pack-priv int join | |
| JOIN_BEVEL | back to summary |
|---|---|
| public static final int JOIN_BEVEL Constant value for join style. | |
| JOIN_MITER | back to summary |
|---|---|
| public static final int JOIN_MITER Constant value for join style. | |
| JOIN_ROUND | back to summary |
|---|---|
| public static final int JOIN_ROUND Constant value for join style. | |
| miterLimit | back to summary |
|---|---|
| pack-priv float miterLimit | |
| SAFE_ACCUMULATE_MASK | back to summary |
|---|---|
| private static final int SAFE_ACCUMULATE_MASK | |
| SQRT_2 | back to summary |
|---|---|
| pack-priv static final float SQRT_2 | |
| tmpMiter | back to summary |
|---|---|
| private float[] tmpMiter | |
| type | back to summary |
|---|---|
| pack-priv int type | |
| TYPE_CENTERED | back to summary |
|---|---|
| public static final int TYPE_CENTERED | |
| TYPE_INNER | back to summary |
|---|---|
| public static final int TYPE_INNER | |
| TYPE_OUTER | back to summary |
|---|---|
| public static final int TYPE_OUTER | |
| width | back to summary |
|---|---|
| pack-priv float width | |
| BasicStroke | back to summary |
|---|---|
| public BasicStroke() | |
| BasicStroke | back to summary |
|---|---|
| public BasicStroke(float width, int cap, int join, float miterLimit) | |
| BasicStroke | back to summary |
|---|---|
| public BasicStroke(int type, float width, int cap, int join, float miterLimit) | |
| BasicStroke | back to summary |
|---|---|
| public BasicStroke(float width, int cap, int join, float miterLimit, float[] dash, float dashPhase) | |
| BasicStroke | back to summary |
|---|---|
| public BasicStroke(float width, int cap, int join, float miterLimit, double[] dash, float dashPhase) | |
| BasicStroke | back to summary |
|---|---|
| public BasicStroke(int type, float width, int cap, int join, float miterLimit, float[] dash, float dashPhase) | |
| BasicStroke | back to summary |
|---|---|
| public BasicStroke(int type, float width, int cap, int join, float miterLimit, double[] dash, float dashPhase) | |
| accumulate | back to summary |
|---|---|
| private void accumulate(float o0, float o1, float o2, float o3, float[] bbox) | |
| accumulateBevel | back to summary |
|---|---|
| private void accumulateBevel(float x0, float y0, float pox, float poy, float ox, float oy, float[] bbox) | |
| accumulateCap | back to summary |
|---|---|
| private void accumulateCap(float dx, float dy, float x0, float y0, float ox, float oy, float[] bbox, float w) | |
| accumulateCubic | back to summary |
|---|---|
| private void accumulateCubic(float[] bbox, int off, float t, float v0, float vc0, float vc1, float v1, float w) | |
| accumulateCubic | back to summary |
|---|---|
| private void accumulateCubic(float[] bbox, int off, float v0, float vc0, float vc1, float v1, float w) | |
| accumulateJoin | back to summary |
|---|---|
| private void accumulateJoin(float pdx, float pdy, float dx, float dy, float x0, float y0, float pox, float poy, float ox, float oy, float[] bbox, float w) | |
| accumulateMiter | back to summary |
|---|---|
| private void accumulateMiter(float pdx, float pdy, float dx, float dy, float pox, float poy, float ox, float oy, float x0, float y0, float[] bbox, float w) | |
| accumulateOrdered | back to summary |
|---|---|
| private void accumulateOrdered(float o0, float o1, float o2, float o3, float[] bbox) | |
| accumulateQuad | back to summary |
|---|---|
| private void accumulateQuad(float[] bbox, int off, float v0, float vc, float v1, float w) | |
| accumulateShapeBounds | back to summary |
|---|---|
| public void accumulateShapeBounds(float[] bbox, Shape shape, BaseTransform tx) | |
| computeMiter | back to summary |
|---|---|
| private void computeMiter(final float x0, final float y0, final float x1, final float y1, final float x0p, final float y0p, final float x1p, final float y1p, final float[] m, int off) | |
| computeOffset | back to summary |
|---|---|
| private void computeOffset(final float lx, final float ly, final float w, final float[] m, int off) | |
| copy | back to summary |
|---|---|
| public BasicStroke copy() | |
| createCenteredStrokedShape | back to summary |
|---|---|
| public Shape createCenteredStrokedShape(final Shape s) | |
| createStrokedShape | back to summary |
|---|---|
| public Shape createStrokedShape(Shape s) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Tests if a specified object is equal to this | |
| getDashArray | back to summary |
|---|---|
| public float[] getDashArray() Returns the array representing the lengths of the dash segments.
Alternate entries in the array represent the user space lengths
of the opaque and transparent segments of the dashes.
As the pen moves along the outline of the
| |
| getDashPhase | back to summary |
|---|---|
| public float getDashPhase() Returns the current dash phase. The dash phase is a distance specified in user coordinates that represents an offset into the dashing pattern. In other words, the dash phase defines the point in the dashing pattern that will correspond to the beginning of the stroke.
| |
| getEndCap | back to summary |
|---|---|
| public int getEndCap() Returns the end cap style.
| |
| getLineJoin | back to summary |
|---|---|
| public int getLineJoin() Returns the line join style.
| |
| getLineWidth | back to summary |
|---|---|
| public float getLineWidth() Returns the line width. Line width is represented in user space,
which is the default-coordinate space used by Java 2D. See the
| |
| getMiterLimit | back to summary |
|---|---|
| public float getMiterLimit() Returns the limit of miter joins.
| |
| getType | back to summary |
|---|---|
| public int getType() Returns the stroke type, one of
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns the hashcode for this stroke.
| |
| isCW | back to summary |
|---|---|
| private boolean isCW(final float dx1, final float dy1, final float dx2, final float dy2) | |
| isDashed | back to summary |
|---|---|
| public boolean isDashed() Returns true if this stroke object will apply dashing attributes to the path.
| |
| makeBeveledRect | back to summary |
|---|---|
| pack-priv static Shape makeBeveledRect(float rx, float ry, float rw, float rh, float d) | |
| makeIntersectedShape | back to summary |
|---|---|
| protected Shape makeIntersectedShape(Shape outer, Shape inner) | |
| makeSubtractedShape | back to summary |
|---|---|
| protected Shape makeSubtractedShape(Shape outer, Shape inner) | |
| set | back to summary |
|---|---|
| public void set(int type, float width, int cap, int join, float miterLimit) | |
| set | back to summary |
|---|---|
| public void set(float[] dash, float dashPhase) | |
| set | back to summary |
|---|---|
| public void set(double[] dash, float dashPhase) | |
| strokeRoundRectangle | back to summary |
|---|---|
| pack-priv Shape strokeRoundRectangle(RoundRectangle2D rr) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PathIterator | getPathIterator(BaseTransform tx)
Overrides com. Returns an iterator object that iterates along the
|
| cagshape | back to summary |
|---|---|
| private Shape cagshape | |
| CAGShapePair | back to summary |
|---|---|
| public CAGShapePair(Shape outer, Shape inner, int type) | |
| getPathIterator | back to summary |
|---|---|
| public PathIterator getPathIterator(BaseTransform tx) Overrides com. Doc from com. Returns an iterator object that iterates along the
Each call to this method returns a fresh
It is recommended, but not guaranteed, that objects
implementing the
| |