Text |
The TextFragment type exposes the following members.
Name | Description | |
---|---|---|
BoundingBox | The bounding box This is a rectangle that encompasses all parts of the text fragment. | |
CharacterSpacing | The additional spacing between glyphs When the glyph for each character in the text is rendered, the character spacing is added to the horizontal or vertical component of the glyph's displacement, depending on the writing mode. It is subject to scaling by the horizontal scaling if the writing mode is horizontal. | |
Count | ||
Fill | This text fragment's parameters for filling the text or if the text is not filled | |
Font | The font The returned Font can only be used for extraction purposes. Specifically, using this object in TextGenerator(Text, Font, Double, NullablePoint) or in Font results in a ArgumentException error. | |
FontSize | The font size | |
HorizontalScaling | The horizontal scaling factor The horizontal scaling parameter adjusts the width of glyphs by stretching or compressing them in the horizontal direction. Its value is specified relative to the normal width of the glyphs, with 1 being the normal width. | |
IsReadOnly | ||
Item | ||
Rise | The rise of the baseline The text rise specifies the distance to move the baseline up or down from its default location. Positive values of text rise move the baseline up. Adjustments to the baseline are useful for drawing superscripts or subscripts. | |
Stroke | This text fragment's parameters for stroking the text or if the text is not stroked | |
Text | The string painted by this text fragment | |
Transform | The transform to be applied to the bounding box rectangle Use this transform matrix to compute the actual location of the text fragment's bounding box. | |
WordSpacing | The additional spacing between words Word spacing works the same way as character spacing, but applies only to the space character, code 32. | |
WritingMode | The writing direction This is the writing mode for the text fragment. It applies to all contained Glyphs. |