APIdia Launch Partner
Top Inners Fields Constructors Methods
com.badlogic.gdx.tools.hiero.unicodefont.effects

public Class OutlineWobbleEffect

extends OutlineEffect
Class Inheritance
Imports
java.awt.BasicStroke, .Color, .Shape, .Stroke, java.awt.geom.FlatteningPathIterator, .GeneralPath, .PathIterator, java.util.Iterator, .List

Authors
Jerry Huxtable, Nathan Sweet

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv class

Field Summary

Modifier and TypeField and Description
pack-priv float
pack-priv float

Constructor Summary

AccessConstructor and Description
public
public
OutlineWobbleEffect(int width, Color color)

Method Summary

Modifier and TypeMethod and Description
public List<E>
public void
public String
toString()

Overrides com.badlogic.gdx.tools.hiero.unicodefont.effects.OutlineEffect.toString.

Returns a string representation of the object.

Inherited from com.badlogic.gdx.tools.hiero.unicodefont.effects.OutlineEffect:
drawgetColorgetJoingetStrokegetWidthsetColorsetJoinsetStrokesetWidth

Field Detail

amplitudeback to summary
pack-priv float amplitude
detailback to summary
pack-priv float detail

Constructor Detail

OutlineWobbleEffectback to summary
public OutlineWobbleEffect()
OutlineWobbleEffectback to summary
public OutlineWobbleEffect(int width, Color color)

Method Detail

getValuesback to summary
public List<E> getValues()

Overrides com.badlogic.gdx.tools.hiero.unicodefont.effects.OutlineEffect.getValues.

Implements com.badlogic.gdx.tools.hiero.unicodefont.effects.ConfigurableEffect.getValues.

Doc from com.badlogic.gdx.tools.hiero.unicodefont.effects.ConfigurableEffect.getValues.

Returns the list of Values for this effect. This list is not typically backed by the effect, so changes to the values will not take affect until setValues(List) is called.

setValuesback to summary
public void setValues(List<E> values)

Overrides com.badlogic.gdx.tools.hiero.unicodefont.effects.OutlineEffect.setValues.

Implements com.badlogic.gdx.tools.hiero.unicodefont.effects.ConfigurableEffect.setValues.

Doc from com.badlogic.gdx.tools.hiero.unicodefont.effects.ConfigurableEffect.setValues.

Sets the list of Values for this effect.

toStringback to summary
public String toString()

Overrides com.badlogic.gdx.tools.hiero.unicodefont.effects.OutlineEffect.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

com.badlogic.gdx.tools.hiero.unicodefont.effects back to summary

pack-priv Class OutlineWobbleEffect.WobbleStroke

extends Object
implements Stroke
Class Inheritance
  • java.lang.Object
  • com.badlogic.gdx.tools.hiero.unicodefont.effects.OutlineWobbleEffect.WobbleStroke
All Implemented Interfaces
java.awt.Stroke

Field Summary

Modifier and TypeField and Description
private static final float

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Shape
createStrokedShape(Shape shape)

Implements java.awt.Stroke.createStrokedShape.

Returns an outline Shape which encloses the area that should be painted when the Shape is stroked according to the rules defined by the object implementing the Stroke interface.

private float
randomize(float x)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

FLATNESSback to summary
private static final float FLATNESS

Constructor Detail

WobbleStrokeback to summary
pack-priv WobbleStroke()

Method Detail

createStrokedShapeback to summary
public Shape createStrokedShape(Shape shape)

Implements java.awt.Stroke.createStrokedShape.

Doc from java.awt.Stroke.createStrokedShape.

Returns an outline Shape which encloses the area that should be painted when the Shape is stroked according to the rules defined by the object implementing the Stroke interface.

randomizeback to summary
private float randomize(float x)