|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.newdawn.slick.font.effects.OutlineEffect org.newdawn.slick.font.effects.OutlineZigzagEffect
public class OutlineZigzagEffect
An effect to generate a uniformly zigzaging line around text
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.newdawn.slick.font.effects.ConfigurableEffect |
---|
ConfigurableEffect.Value |
Constructor Summary | |
---|---|
OutlineZigzagEffect()
Default constructor for injection |
|
OutlineZigzagEffect(int width,
java.awt.Color color)
Create a new effect to generate a zigzagging line around the text |
Method Summary | |
---|---|
float |
getAmplitude()
Gets the amplitude of the wobble effect. |
java.util.List |
getValues()
Returns the list of ConfigurableEffect.Value s for this effect. |
float |
getWavelength()
Gets the wavelength of the wobble effect. |
void |
setAmplitude(float amplitude)
Sets the amplitude of the wobble effect. |
void |
setValues(java.util.List values)
Sets the list of ConfigurableEffect.Value s for this effect. |
void |
setWavelength(float wavelength)
Sets the wavelength of the wobble effect. |
java.lang.String |
toString()
|
Methods inherited from class org.newdawn.slick.font.effects.OutlineEffect |
---|
draw, getColor, getJoin, getStroke, getWidth, setColor, setJoin, setStroke, setWidth |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OutlineZigzagEffect()
public OutlineZigzagEffect(int width, java.awt.Color color)
width
- The width of the linecolor
- The colour of the lineMethod Detail |
---|
public float getWavelength()
public void setWavelength(float wavelength)
wavelength
- The wavelength of the wobble effectpublic float getAmplitude()
public void setAmplitude(float amplitude)
amplitude
- The detail of the wobble effectpublic java.lang.String toString()
toString
in class OutlineEffect
OutlineEffect.toString()
public java.util.List getValues()
ConfigurableEffect
ConfigurableEffect.Value
s for this effect. This list is not typically backed by the effect, so changes to the
values will not take affect until ConfigurableEffect.setValues(List)
is called.
getValues
in interface ConfigurableEffect
getValues
in class OutlineEffect
OutlineEffect.getValues()
public void setValues(java.util.List values)
ConfigurableEffect
ConfigurableEffect.Value
s for this effect.
setValues
in interface ConfigurableEffect
setValues
in class OutlineEffect
OutlineEffect.setValues(java.util.List)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |