- getProgress() - Method in class wordcram.WordCram
-
How far through the words are we? Useful for when drawing
to a custom PGraphics.
- getProperty(String) - Method in class wordcram.Word
-
Get a property value from this Word, for a WordColorer, a WordPlacer, etc.
- getRenderedAngle() - Method in class wordcram.Word
-
Get the angle the Word was rendered at: either the value passed to setAngle(), or the value returned from the WordAngler.
- getRenderedColor() - Method in class wordcram.Word
-
Get the color the Word was rendered in: either the value passed to setColor(), or the value returned from the WordColorer.
- getRenderedFont() - Method in class wordcram.Word
-
Get the font the Word was rendered in: either the value passed to setFont(), or the value returned from the WordFonter.
- getRenderedHeight() - Method in class wordcram.Word
-
Gets the height, in pixels, of the java.awt.Shape that will be rendered for
this Word, based on the Font, Angle, and Size for this Word.
- getRenderedPlace() - Method in class wordcram.Word
-
Get the final place the Word was rendered at, or null if it couldn't be placed.
- getRenderedSize() - Method in class wordcram.Word
-
Get the size the Word was rendered at: either the value passed to setSize(), or the value returned from the WordSizer.
- getRenderedWidth() - Method in class wordcram.Word
-
Gets the width, in pixels, of the java.awt.Shape that will be rendered for
this Word, based on the Font, Angle, and Size for this Word.
- getShapeFor(String, PFont, float, float, int) - Method in class wordcram.WordShaper
-
- getSkippedWords() - Method in class wordcram.WordCram
-
Returns an array of words that could not be placed.
- getTargetPlace() - Method in class wordcram.Word
-
Get the place the Word was supposed to be rendered at: either the value passed to setPlace(),
or the value returned from the WordPlacer.
- getText() - Method in class wordcram.text.Html
-
- getText() - Method in class wordcram.text.Text
-
- getText() - Method in class wordcram.text.TextFile
-
- getText() - Method in interface wordcram.text.TextSource
-
- getText() - Method in class wordcram.text.WebPage
-
- getWordAt(float, float) - Method in class wordcram.WordCram
-
Get the Word at the given (x,y) coordinates.
- getWords() - Method in class wordcram.WordCram
-
Get the Words that WordCram is drawing.
- setAngle(float) - Method in class wordcram.Word
-
Set the angle this Word should be rendered at - WordCram won't even call the WordAngler.
- setColor(int) - Method in class wordcram.Word
-
Set the color this Word should be rendered in - WordCram won't call the WordColorer.
- setFont(PFont) - Method in class wordcram.Word
-
Set the font this Word should be rendered in - WordCram won't call the WordFonter.
- setLocation(int, int) - Method in class wordcram.BBTree
-
- setPlace(PVector) - Method in class wordcram.Word
-
Set the place this Word should be rendered at - WordCram won't call the WordPlacer.
- setPlace(float, float) - Method in class wordcram.Word
-
Set the place this Word should be rendered at - WordCram won't call the WordPlacer.
- setProperty(String, Object) - Method in class wordcram.Word
-
Set a property on this Word, to be used by a WordColorer, a WordPlacer, etc, down the line.
- setSize(float) - Method in class wordcram.Word
-
Set the size this Word should be rendered at - WordCram won't even call the WordSizer.
- SHAPE_WAS_TOO_SMALL - Static variable in class wordcram.WordCram
-
Skip Reason: the Word's shape was too small.
- sizedByRank(int, int) - Method in class wordcram.WordCram
-
Make the WordCram size words by their rank.
- sizedByWeight(int, int) - Method in class wordcram.WordCram
-
Make the WordCram size words by their weight, where the
"heaviest" word will be sized at maxSize.
- sizeFor(Word, int, int) - Method in interface wordcram.WordSizer
-
How big should this
Word be rendered?
- Sizers - Class in wordcram
-
Sizers contains pre-made
WordSizer implementations that you might
find useful.
- Sizers() - Constructor for class wordcram.Sizers
-
- SpiralWordNudger - Class in wordcram
-
- SpiralWordNudger() - Constructor for class wordcram.SpiralWordNudger
-
- swirl() - Static method in class wordcram.Placers
-
- SwirlWordPlacer - Class in wordcram
-
- SwirlWordPlacer() - Constructor for class wordcram.SwirlWordPlacer
-
- WAS_OVER_MAX_NUMBER_OF_WORDS - Static variable in class wordcram.WordCram
-
- wasPlaced() - Method in class wordcram.Word
-
Indicates whether the Word was placed successfully.
- wasSkipped() - Method in class wordcram.Word
-
Indicates whether the Word was skipped.
- wasSkippedBecause() - Method in class wordcram.Word
-
Tells you why this Word was skipped.
- wave() - Static method in class wordcram.Placers
-
- WaveWordPlacer - Class in wordcram
-
- WaveWordPlacer() - Constructor for class wordcram.WaveWordPlacer
-
- WebPage - Class in wordcram.text
-
- WebPage(String, PApplet) - Constructor for class wordcram.text.WebPage
-
- weight - Variable in class wordcram.Word
-
- withAngler(WordAngler) - Method in class wordcram.WordCram
-
Use the given WordAngler to pick angles for each word.
- withColor(int) - Method in class wordcram.WordCram
-
Renders all words in the given color.
- withColorer(WordColorer) - Method in class wordcram.WordCram
-
Use the given WordColorer to pick colors for each word.
- withColors(int...) - Method in class wordcram.WordCram
-
Render words by randomly choosing from the given colors.
- withCustomCanvas(PGraphics) - Method in class wordcram.WordCram
-
Use a custom canvas instead of the applet's default one.
- withFont(String) - Method in class wordcram.WordCram
-
Make the WordCram render all words in the font that matches
the given name, via Processing's
createFont.
- withFont(PFont) - Method in class wordcram.WordCram
-
Make the WordCram render all words in the given
PFont.
- withFonter(WordFonter) - Method in class wordcram.WordCram
-
Use the given WordFonter to pick fonts for each word.
- withFonts(String...) - Method in class wordcram.WordCram
-
This WordCram will get a
PFont
for each fontName, via
createFont,
and will render words in one of those PFonts.
- withFonts(PFont...) - Method in class wordcram.WordCram
-
This WordCram will render words in one of the given
PFonts.
- withNudger(WordNudger) - Method in class wordcram.WordCram
-
Use the given WordNudger to pick angles for each word.
- withPlacer(WordPlacer) - Method in class wordcram.WordCram
-
Use the given WordPlacer to pick locations for each word.
- withSizer(WordSizer) - Method in class wordcram.WordCram
-
Use the given WordSizer to pick fonts for each word.
- withStopWords(String) - Method in class wordcram.WordCram
-
Tells WordCram which words to ignore when it counts up the words in your text.
- withWordPadding(int) - Method in class wordcram.WordCram
-
Add padding around each word, so they stand out from each other more.
- Word - Class in wordcram
-
A weighted word, for rendering in the word cloud image.
- Word(String, float) - Constructor for class wordcram.Word
-
- word - Variable in class wordcram.Word
-
- WordAngler - Interface in wordcram
-
A WordAngler tells WordCram what angle to draw a word at, in radians.
- WordColorer - Interface in wordcram
-
A WordColorer tells WordCram what color to render a word in.
- wordcram - package wordcram
-
- WordCram - Class in wordcram
-
The main API for WordCram.
- WordCram(PApplet) - Constructor for class wordcram.WordCram
-
Make a new WordCram.
- wordcram.text - package wordcram.text
-
- WordFonter - Interface in wordcram
-
A WordFonter tells WordCram what font to render a word in.
- WordNudger - Interface in wordcram
-
Once a WordPlacer tells WordCram where a word should go, a WordNudger
tells WordCram how to nudge it around the field, until it fits in with the
other words around it, or the WordCram gives up on the word.
- WordPlacer - Interface in wordcram
-
A WordPlacer tells WordCram where to place a word (in x,y coordinates) on the field.
- WordShaper - Class in wordcram
-
- WordShaper() - Constructor for class wordcram.WordShaper
-
- WordSizer - Interface in wordcram
-
A WordSizer tells WordCram how big to render each word.