Constructor and Description |
---|
StripedPaint()
Create a new StripedPaint
|
Modifier and Type | Method and Description |
---|---|
void |
setAlternateAxis(int altaxis)
For
back walls , set the secondary axis
against which lines perpendicular to the stripes are drawn. |
void |
setAxis(int newaxis)
For
back walls , set the primary axis
which the stripes are against. |
void |
setBoxed(boolean boxed)
When lines are being painted, set whether those lines should form a "box" around
the wall.
|
void |
setDash(double[] dash)
Set the dash pattern to use when painting the stripes.
|
void |
setFillPaint(Paint[] paint)
Set the colors to stripe the wall.
|
void |
setLineAxes(boolean primary,
boolean alternate)
When lines are being painted, set which axes they should be painted on.
|
void |
setLineColor(Color color)
Set the color of the lines to be drawn between stripes.
|
void |
setLineThickness(double thickness)
Set the thickness of lines to be drawn
|
String |
toString() |
public void setFillPaint(Paint[] paint)
paint[0]
,
then paint[1]
and so on, with the pattern repeating if there are more
stripes than paints. An empty array or a value of null
means the walls
will not be painted - only lines in the linecolor
will be drawnpaint
- the array of Paints to paint the wall withpublic void setBoxed(boolean boxed)
setLineColor(java.awt.Color)
public void setLineColor(Color color)
color
- the colorpublic void setLineAxes(boolean primary, boolean alternate)
public void setDash(double[] dash)
unboxed
dash
- the dash arrayStyle.setLineDash(double[])
public void setLineThickness(double thickness)
thickness
- the thickness.Style.setLineThickness(double)
public void setAxis(int newaxis)
back walls
, set the primary axis
which the stripes are against.newaxis
- one of Axis.TOP
, Axis.RIGHT
, Axis.BOTTOM
or Axis.LEFT
.public void setAlternateAxis(int altaxis)
back walls
, set the secondary axis
against which lines perpendicular to the stripes are drawn.newaxis
- one of Axis.TOP
, Axis.RIGHT
, Axis.BOTTOM
, Axis.LEFT
or -1 to not draw any perpendicular stripes.Copyright © 2001-2016 Big Faceless Organization