public class WaveWordPlacer extends java.lang.Object implements WordPlacer
| Constructor and Description |
|---|
WaveWordPlacer() |
public processing.core.PVector place(Word word, int wordIndex, int wordsCount, int wordImageWidth, int wordImageHeight, int fieldWidth, int fieldHeight)
WordPlacerWord be drawn on the field?place in interface WordPlacerword - The Word to place. A typical WordPlacer might use the Word's
weight.wordIndex - The index (rank) of the Word to place. Since this isn't a
property of the Word, it's passed in as well.wordsCount - The total number of words. Gives a context to wordIndex:
"Word {wordIndex} of {wordsCount}".wordImageWidth - The width of the word image.wordImageHeight - The height of the word image.fieldWidth - The width of the field.fieldHeight - The height of the field.