public class CmxTextBlockSpec extends Object implements ICmxObjectSpec
Represents info specified for text blocks.
ICmxObjectSpec
Constructor and Description |
---|
CmxTextBlockSpec() |
Modifier and Type | Method and Description |
---|---|
PointF[] |
getCharLocations()
Gets the character locations.
|
Font |
getFont()
Gets the font.
|
Matrix |
getMatrix()
Gets the transformation matrix.
|
CmxParagraphStyle |
getParagraphStyle()
Gets the paragraph style.
|
String |
getText()
Gets the text.
|
void |
setCharLocations(PointF[] value)
Sets the character locations.
|
void |
setFont(Font value)
Sets the font.
|
void |
setMatrix(Matrix value)
Sets the transformation matrix.
|
void |
setParagraphStyle(CmxParagraphStyle value)
Sets the paragraph style.
|
void |
setText(String value)
Sets the text.
|
public final CmxParagraphStyle getParagraphStyle()
Gets the paragraph style.
public final void setParagraphStyle(CmxParagraphStyle value)
Sets the paragraph style.
value
- the paragraph style.public final Font getFont()
Gets the font.
public final void setFont(Font value)
Sets the font.
value
- the font.public final Matrix getMatrix()
Gets the transformation matrix.
public final void setMatrix(Matrix value)
Sets the transformation matrix.
value
- the transformation matrix.public final String getText()
Gets the text.
public final void setText(String value)
Sets the text.
value
- the text.public final PointF[] getCharLocations()
Gets the character locations.
public final void setCharLocations(PointF[] value)
Sets the character locations.
value
- the character locations.