BaseLineShift Enum
Contents
[
Hide
]BaseLineShift enumeration
Specifies the vertical position of an element relative to its baseline in SVG.
public enum BaseLineShift
Values
Name | Value | Description |
---|---|---|
Sub | 0 | Aligns the baseline of the element with the subscript baseline of the parent’s text. |
Super | 1 | Aligns the baseline of the element with the superscript baseline of the parent’s text. |
Top | 2 | Aligns the top of the element with the top of the line box. |
Center | 3 | Centers the element in the line box. |
Bottom | 4 | Aligns the bottom of the element with the bottom of the line box. |
Remarks
The ‘baseline-shift’ attribute in SVG is used to adjust the vertical position of an element relative to its baseline, which is particularly useful in text rendering. This enum provides various options for shifting the baseline to achieve different text effects.
See Also
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG