| Package | Description |
|---|---|
| wordcram |
| Modifier and Type | Method and Description |
|---|---|
Word[] |
WordCram.getSkippedWords()
Returns an array of words that could not be placed.
|
Word |
WordCram.getWordAt(float x,
float y)
Get the Word at the given (x,y) coordinates.
|
Word[] |
WordCram.getWords()
Get the Words that WordCram is drawing.
|
Word |
Word.setAngle(float angle)
Set the angle this Word should be rendered at - WordCram won't even call the WordAngler.
|
Word |
Word.setColor(int color)
Set the color this Word should be rendered in - WordCram won't call the WordColorer.
|
Word |
Word.setFont(processing.core.PFont font)
Set the font this Word should be rendered in - WordCram won't call the WordFonter.
|
Word |
Word.setPlace(float x,
float y)
Set the place this Word should be rendered at - WordCram won't call the WordPlacer.
|
Word |
Word.setPlace(processing.core.PVector place)
Set the place this Word should be rendered at - WordCram won't call the WordPlacer.
|
Word |
Word.setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
Set a property on this Word, to be used by a WordColorer, a WordPlacer, etc, down the line.
|
Word |
Word.setSize(float size)
Set the size this Word should be rendered at - WordCram won't even call the WordSizer.
|
| Modifier and Type | Method and Description |
|---|---|
float |
WordAngler.angleFor(Word word)
What angle should this
Word be rotated at? |
int |
WordColorer.colorFor(Word word)
What color should this
Word be? |
int |
Word.compareTo(Word w)
Compares Words based on weight only.
|
processing.core.PFont |
WordFonter.fontFor(Word word)
What font should this
Word be drawn in? |
WordCram |
WordCram.fromWords(Word[] words)
Makes a WordCram from your own custom Word array.
|
processing.core.PVector |
WordNudger.nudgeFor(Word word,
int attemptNumber)
How should this word be nudged, this time?
|
processing.core.PVector |
SpiralWordNudger.nudgeFor(Word w,
int attempt) |
processing.core.PVector |
RandomWordNudger.nudgeFor(Word w,
int attempt) |
processing.core.PVector |
PlottingWordNudger.nudgeFor(Word word,
int attempt) |
processing.core.PVector |
WordPlacer.place(Word word,
int wordIndex,
int wordsCount,
int wordImageWidth,
int wordImageHeight,
int fieldWidth,
int fieldHeight)
Where should this
Word be drawn on the field? |
processing.core.PVector |
WaveWordPlacer.place(Word word,
int wordIndex,
int wordsCount,
int wordImageWidth,
int wordImageHeight,
int fieldWidth,
int fieldHeight) |
processing.core.PVector |
UpperLeftWordPlacer.place(Word word,
int wordIndex,
int wordsCount,
int wordImageWidth,
int wordImageHeight,
int fieldWidth,
int fieldHeight) |
processing.core.PVector |
SwirlWordPlacer.place(Word word,
int wordIndex,
int wordsCount,
int wordImageWidth,
int wordImageHeight,
int fieldWidth,
int fieldHeight) |
processing.core.PVector |
PlottingWordPlacer.place(Word word,
int wordIndex,
int wordsCount,
int wordImageWidth,
int wordImageHeight,
int fieldWidth,
int fieldHeight) |
float |
WordSizer.sizeFor(Word word,
int wordRank,
int wordCount)
How big should this
Word be rendered? |