java.lang.Object | +--java.awt.BasicStrokeAll Implemented Interfaces:
static int | CAP_BUTT |
static int | CAP_ROUND |
static int | CAP_SQUARE |
static int | JOIN_BEVEL |
static int | JOIN_MITERSTUB CLASS ONLY |
static int | JOIN_ROUND |
BasicStroke(float width, int cap, int join, float miterlimit, float[] dash, float dashPhase)Creates a basic stroke. |
BasicStroke(float width, int cap, int join, float miterlimit)Creates a basic stroke. |
BasicStroke(float width, int cap, int join)Creates a basic stroke. |
BasicStroke(float width)Creates a basic stroke. |
BasicStroke()Creates a basic stroke. |
java.awt.Shape | createStrokedShape(java.awt.Shape s) |
boolean | equals(java.lang.Object o) |
float[] | getDashArray() |
float | getDashPhase() |
int | getEndCap() |
int | getLineJoin() |
float | getLineWidth() |
float | getMiterLimit() |
int | hashCode() |
public static final int CAP_BUTTpublic static final int CAP_ROUNDpublic static final int CAP_SQUAREpublic static final int JOIN_BEVELpublic static final int JOIN_MITERpublic static final int JOIN_ROUNDpublic BasicStroke()public BasicStroke(float width)width - The width of the BasicStroke.IllegalArgumentException - If width is negative.public BasicStroke(float width, int cap, int join)width - The width of the BasicStroke.cap - May be either CAP_BUTT, CAP_ROUND or CAP_SQUARE.join - May be either JOIN_ROUND, JOIN_BEVEL, or JOIN_MITER.IllegalArgumentException - If one input parameter doesn't meet
its needs.IllegalArgumentException - FIXMEpublic BasicStroke(float width, int cap, int join, float miterlimit)width - The width of the BasicStroke.cap - May be either CAP_BUTT, CAP_ROUND or CAP_SQUARE.join - May be either JOIN_ROUND, JOIN_BEVEL, or JOIN_MITER.miterlimit - the limit to trim the miter join.IllegalArgumentException - If one input parameter doesn't meet
its needs.public BasicStroke(float width, int cap, int join, float miterlimit, float[] dash, float dashPhase)width - May not be negative .cap - May be either CAP_BUTT, CAP_ROUND or CAP_SQUARE.join - May be either JOIN_ROUND, JOIN_BEVEL, or JOIN_MITER.miterlimit - the limit to trim the miter join.dash - The array representing the dashing pattern.dashPhase - is negative and dash is not null.IllegalArgumentException - If one input parameter doesn't meet
its needs.public Shape createStrokedShape(java.awt.Shape s)Parameters:s - public boolean equals(java.lang.Object o)Parameters:o - public float[] getDashArray()public float getDashPhase()public int getEndCap()public int getLineJoin()public float getLineWidth()public float getMiterLimit()public int hashCode()