|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.mediacore.TextFormatBuilder
public final class TextFormatBuilder
| Constructor Summary | |
|---|---|
TextFormatBuilder()
Constructor which initializes a TextFormat with default attributes. |
|
TextFormatBuilder(TextFormat.Font font,
TextFormat.Size size,
TextFormat.FontEdge fontEdge,
TextFormat.Color fontColor,
TextFormat.Color backgroundColor,
TextFormat.Color fillColor,
TextFormat.Color edgeColor,
int fontOpacity,
int backgroundOpacity,
int fillOpacity)
Constructor using parameters to initialize a TextFormat. |
|
| Method Summary | |
|---|---|
TextFormatBuilder |
setBackgroundColor(TextFormat.Color backgroundColor)
Sets the background color. |
TextFormatBuilder |
setBackgroundOpacity(int backgroundOpacity)
Sets the background opacity. |
TextFormatBuilder |
setEdgeColor(TextFormat.Color edgeColor)
Sets the edge color. |
TextFormatBuilder |
setFillColor(TextFormat.Color fillColor)
Sets the fill color. |
TextFormatBuilder |
setFillOpacity(int fillOpacity)
Sets the fill opacity. |
TextFormatBuilder |
setFont(TextFormat.Font font)
Sets the text font. |
TextFormatBuilder |
setFontColor(TextFormat.Color fontColor)
Sets the font color. |
TextFormatBuilder |
setFontEdge(TextFormat.FontEdge fontEdge)
Sets the font edge. |
TextFormatBuilder |
setFontOpacity(int fontOpacity)
Sets the font opacity. |
TextFormatBuilder |
setSize(TextFormat.Size size)
Sets the text size. |
TextFormat |
toTextFormat()
Creates a TextFormat with the arguments supplied to this builder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextFormatBuilder()
public TextFormatBuilder(TextFormat.Font font,
TextFormat.Size size,
TextFormat.FontEdge fontEdge,
TextFormat.Color fontColor,
TextFormat.Color backgroundColor,
TextFormat.Color fillColor,
TextFormat.Color edgeColor,
int fontOpacity,
int backgroundOpacity,
int fillOpacity)
font - The desired font.size - The desired text size.fontEdge - The desired font edge.fontColor - The desired font color.backgroundColor - The desired background color.fillColor - The desired fill color.edgeColor - The desired color to draw the text edges.fontOpacity - The desired font opacity.backgroundOpacity - The desired background opacity.fillOpacity - The desired fill opacity.| Method Detail |
|---|
public TextFormatBuilder setFont(TextFormat.Font font)
font - The desired font
public TextFormatBuilder setBackgroundColor(TextFormat.Color backgroundColor)
backgroundColor - The desired color
public TextFormatBuilder setFillColor(TextFormat.Color fillColor)
fillColor - The desired color
public TextFormatBuilder setEdgeColor(TextFormat.Color edgeColor)
edgeColor - The desired color
public TextFormatBuilder setSize(TextFormat.Size size)
size - The desired text size
public TextFormatBuilder setFontEdge(TextFormat.FontEdge fontEdge)
fontEdge - The desired edge effect
public TextFormatBuilder setFontOpacity(int fontOpacity)
fontOpacity -
public TextFormatBuilder setBackgroundOpacity(int backgroundOpacity)
backgroundOpacity - The background opacity
public TextFormatBuilder setFillOpacity(int fillOpacity)
fillOpacity - The desired opacity
public TextFormatBuilder setFontColor(TextFormat.Color fontColor)
fontColor - The desired font color
public TextFormat toTextFormat()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||