public class LandSlideStroke extends KBasicStroke
KStroke.KFillAdapter
dash, dash_phase, miterLimit
cap, CAP_BUTT, CAP_ROUND, CAP_SQUARE, join, JOIN_BEVEL, JOIN_MITER, JOIN_ROUND, stroke, width
Constructor and Description |
---|
LandSlideStroke()
Creates a new 'landslide' styled stroke using default style.
|
LandSlideStroke(int width,
int cap,
int join,
float miterlimit,
float[] dash,
float dash_phase,
int barSpace,
int barSize,
int barSide) |
LandSlideStroke(int width,
int barSpace,
int barSize,
int barSide)
Creates a new 'landslide' styled stroke.
|
LandSlideStroke(int width,
int cap,
int join,
int barSpace,
int barSize,
int barSide) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
getBarSide() |
int |
getBarSize() |
int |
getBarSpace() |
java.awt.Stroke |
getStroke()
Returns the Stroke object created by this
KBasicStroke object. |
int |
getStyleId() |
void |
setBarSide(int barSide) |
void |
setBarSize(int barSize) |
void |
setBarSpace(int barSpace) |
clone, getDash_phase, getDash, getMiterLimit, setDash_phase, setDash, setMiterLimit
public LandSlideStroke()
public LandSlideStroke(int width, int barSpace, int barSize, int barSide)
width
- the stroke sizebarSpace
- the space between each barsbarSize
- the bar sizebarSide
- the relative position of the bars against the main line (Up / Down)public LandSlideStroke(int width, int cap, int join, int barSpace, int barSize, int barSide)
public LandSlideStroke(int width, int cap, int join, float miterlimit, float[] dash, float dash_phase, int barSpace, int barSize, int barSide)
public int getBarSpace()
public void setBarSpace(int barSpace)
public int getBarSize()
public void setBarSize(int barSize)
public int getBarSide()
public void setBarSide(int barSide)
public java.awt.Stroke getStroke()
KBasicStroke
KBasicStroke
object.getStroke
in class KBasicStroke
public int getStyleId()
getStyleId
in class KBasicStroke
public java.lang.Object clone()
clone
in class KBasicStroke