GraffitiSuite Docs
Docs
Textcontent
Loading document parsing libraries...
# TextContent Class Inherits PDFObject ## Enumerations | Name | Value | Description | | --- | :---: | --- | | Alignments | Left <br> Center <br> Right <br> Justify | Supported text alignments. | | Baselines | Alphabetic <br> Ideographic <br> Bottom <br> Top <br> Middle <br> Hanging | Supported text baselines. | | RenderingModes | Fill <br> Stroke <br> FillThenStroke <br> Invisible | Supported rendering modes. | | RotationDirections | Clockwise <br> CounterClockwise | Supported rotation directions. | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | alignmentToString | (None) | String | | | Attributes | Hidden | Function | | | Constructor | (None) | (None) | | | rotationDirectionToString | (None) | String | | | Attributes | Hidden | toJavaScript | | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | #tag | | Nil | | | Baseline | Baselines | Nil | Text baseline. | | CharacterSpacing | Double | 0 | Spacing between characters within a line. | | RotationAngle | Integer | Nil | Angle, in degrees, of rotation. | | RotationDirection | RotationDirections | Nil | Direction to rotate text. | | Text | String | Nil | Text content to render. |