public class TextColorInfo extends ColorInfo
| Constructor and Description |
|---|
TextColorInfo(String text,
String parent,
Color color,
Path path,
float fontSize)
Constructs a new
TextColorInfo with the specified text properties. |
| Modifier and Type | Method and Description |
|---|---|
float |
getFontSize()
Gets the font size of the text in points.
|
String |
getParent()
Gets the parent text string that this text is part of.
|
String |
getText()
Gets the text content being rendered.
|
String |
toString()
Returns a string representation of this text render information.
|
public TextColorInfo(String text, String parent, Color color, Path path, float fontSize)
TextColorInfo with the specified text properties.text - the text content (typically a single character) being renderedparent - the parent text string that this text is part of, providing contextcolor - the fill color of the textpath - the geometric path defining the shape and position of the text elementfontSize - the font size in points.public String getText()
This typically represents a single character or glyph from the PDF content stream.
public String getParent()
This provides context about the larger text block or string that contains this individual text element, which can be useful for debugging and analysis.
public float getFontSize()
Copyright © 1998–2026 Apryse Group NV. All rights reserved.