final class WCStrokeImpl extends WCStroke<Paint,BasicStroke>
Modifier and Type | Field and Description |
---|---|
private BasicStroke |
stroke |
BEVEL_JOIN, BUTT_CAP, DASHED_STROKE, DOTTED_STROKE, MITER_JOIN, NO_STROKE, ROUND_CAP, ROUND_JOIN, SOLID_STROKE, SQUARE_CAP
Constructor and Description |
---|
WCStrokeImpl() |
WCStrokeImpl(float width,
int cap,
int join,
float miterLimit,
float[] dash,
float dashOffset) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
apply(Graphics graphics) |
BasicStroke |
getPlatformStroke() |
protected void |
invalidate() |
(package private) boolean |
isApplicable() |
copyFrom, getDashOffset, getDashSizes, getLineCap, getLineJoin, getMiterLimit, getPaint, getStyle, getThickness, setDashOffset, setDashSizes, setLineCap, setLineJoin, setMiterLimit, setPaint, setStyle, setThickness, toString
private BasicStroke stroke
public WCStrokeImpl()
public WCStrokeImpl(float width, int cap, int join, float miterLimit, float[] dash, float dashOffset)
protected void invalidate()
invalidate
in class WCStroke<Paint,BasicStroke>
public BasicStroke getPlatformStroke()
getPlatformStroke
in class WCStroke<Paint,BasicStroke>
boolean isApplicable()
boolean apply(Graphics graphics)