| Package | Description |
|---|---|
| wordcram |
| Modifier and Type | Method and Description |
|---|---|
WordCram |
WordCram.angledAt(float... anglesInRadians)
Make the WordCram rotate each word at one of the given angles.
|
WordCram |
WordCram.angledBetween(float minAngleInRadians,
float maxAngleInRadians)
Make the WordCram rotate words randomly, between the min and max angles.
|
WordCram |
WordCram.excludeNumbers()
Exclude numbers from the text in the WordCram.
|
WordCram |
WordCram.fromHtmlFile(java.lang.String htmlFilePath)
Make a WordCram from the text in a HTML file.
|
WordCram |
WordCram.fromHtmlString(java.lang.String... html)
Makes a WordCram from a String of HTML.
|
WordCram |
WordCram.fromText(TextSource textSource)
Makes a WordCram from any TextSource.
|
WordCram |
WordCram.fromTextFile(java.lang.String textFilePathOrUrl)
Makes a WordCram from a text file, either on the filesystem
or the network.
|
WordCram |
WordCram.fromTextString(java.lang.String... text)
Makes a WordCram from a String of text.
|
WordCram |
WordCram.fromWebPage(java.lang.String webPageAddress)
Make a WordCram from the text on a web page.
|
WordCram |
WordCram.fromWords(Word[] words)
Makes a WordCram from your own custom Word array.
|
WordCram |
WordCram.includeNumbers()
Include numbers from the text in the WordCram.
|
WordCram |
WordCram.keepCase()
Make the WordCram leave all words cased as they appear in the text.
|
WordCram |
WordCram.lowerCase()
Make the WordCram change all words to lower-case.
|
WordCram |
WordCram.maxAttemptsToPlaceWord(int maxAttempts)
How many attempts should be used to place a word.
|
WordCram |
WordCram.maxNumberOfWordsToDraw(int maxWords)
The maximum number of Words WordCram should try to draw.
|
WordCram |
WordCram.minShapeSize(int minShapeSize)
The smallest-sized Shape the WordCram should try to draw.
|
WordCram |
WordCram.sizedByRank(int minSize,
int maxSize)
Make the WordCram size words by their rank.
|
WordCram |
WordCram.sizedByWeight(int minSize,
int maxSize)
Make the WordCram size words by their weight, where the
"heaviest" word will be sized at
maxSize. |
WordCram |
WordCram.upperCase()
Make the WordCram change all words to upper-case.
|
WordCram |
WordCram.withAngler(WordAngler angler)
Use the given WordAngler to pick angles for each word.
|
WordCram |
WordCram.withColor(int color)
Renders all words in the given color.
|
WordCram |
WordCram.withColorer(WordColorer colorer)
Use the given WordColorer to pick colors for each word.
|
WordCram |
WordCram.withColors(int... colors)
Render words by randomly choosing from the given colors.
|
WordCram |
WordCram.withCustomCanvas(processing.core.PGraphics canvas)
Use a custom canvas instead of the applet's default one.
|
WordCram |
WordCram.withFont(processing.core.PFont font)
Make the WordCram render all words in the given
PFont.
|
WordCram |
WordCram.withFont(java.lang.String fontName)
Make the WordCram render all words in the font that matches
the given name, via Processing's
createFont.
|
WordCram |
WordCram.withFonter(WordFonter fonter)
Use the given WordFonter to pick fonts for each word.
|
WordCram |
WordCram.withFonts(processing.core.PFont... fonts)
This WordCram will render words in one of the given
PFonts.
|
WordCram |
WordCram.withFonts(java.lang.String... fontNames)
This WordCram will get a
PFont
for each fontName, via
createFont,
and will render words in one of those PFonts.
|
WordCram |
WordCram.withNudger(WordNudger nudger)
Use the given WordNudger to pick angles for each word.
|
WordCram |
WordCram.withPlacer(WordPlacer placer)
Use the given WordPlacer to pick locations for each word.
|
WordCram |
WordCram.withSizer(WordSizer sizer)
Use the given WordSizer to pick fonts for each word.
|
WordCram |
WordCram.withStopWords(java.lang.String extraStopWords)
Tells WordCram which words to ignore when it counts up the words in your text.
|
WordCram |
WordCram.withWordPadding(int padding)
Add padding around each word, so they stand out from each other more.
|