java.lang.Object | |
↳ | org.libpag.PAGText |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | PAGText.Justification |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public boolean | applyFill | When true, the text layer shows a fill. | |||||||||
public boolean | applyStroke | When true, the text layer shows a stroke. | |||||||||
public int | backgroundAlpha | The text layer’s background alpha. | |||||||||
public int | backgroundColor | The text layer’s background color. | |||||||||
public float | baselineShift | Readonly, external modifications are not valid. | |||||||||
public boolean | boxText | When true, the text layer is paragraph (bounded) text. | |||||||||
public RectF | boxTextRect | For box text, the pixel boundary for the text bounds. | |||||||||
public boolean | fauxBold | ||||||||||
public boolean | fauxItalic | ||||||||||
public int | fillColor | The text layer’s fill color. | |||||||||
public float | firstBaseLine | Readonly, external modifications are not valid. | |||||||||
public String | fontFamily | A string with the name of the font family. | |||||||||
public float | fontSize | The text layer’s font size in pixels. | |||||||||
public String | fontStyle | A string with the style information — e.g., “bold”, “italic”. | |||||||||
public int | justification | The paragraph justification for the text layer. | |||||||||
public float | leading | The space between lines, 0 indicates 'auto', which is fontSize * 1.2 | |||||||||
public int | strokeColor | The text layer’s stroke color. | |||||||||
public boolean | strokeOverFill | Indicates the rendering order for the fill and stroke of a text layer. | |||||||||
public float | strokeWidth | The text layer’s stroke thickness. | |||||||||
public String | text | The text layer’s Source Text value. | |||||||||
public float | tracking | The text layer’s spacing between characters. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PAGText() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
When true, the text layer shows a fill.
When true, the text layer shows a stroke.
The text layer’s background alpha. 0 = 100% transparent, 255 = 100% opaque.
The text layer’s background color.
Readonly, external modifications are not valid.
When true, the text layer is paragraph (bounded) text. Readonly, external modifications are not valid.
For box text, the pixel boundary for the text bounds. Readonly, external modifications are not valid.
The text layer’s fill color.
Readonly, external modifications are not valid.
A string with the name of the font family.
The text layer’s font size in pixels.
A string with the style information — e.g., “bold”, “italic”.
The paragraph justification for the text layer. Such as : PAGJustificationLeftJustify, PAGJustificationCenterJustify...
The space between lines, 0 indicates 'auto', which is fontSize * 1.2
The text layer’s stroke color.
Indicates the rendering order for the fill and stroke of a text layer. Readonly, external modifications are not valid.
The text layer’s stroke thickness.
The text layer’s Source Text value.
The text layer’s spacing between characters.