SVGBuilderExtensions.Y
Contents
[
Hide
]Y<TBuilder>(this TBuilder, LengthType, params double[])
Sets the ‘y’ attribute for positioning the text content along the y-axis.
public static TBuilder Y<TBuilder>(this TBuilder builder, LengthType type = LengthType.Px,
params double[] values)
where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The SVG element builder. |
type | The type of length unit for the values. |
values | The y-axis position values. |
Return Value
The builder instance for chaining.
Remarks
This method sets the ‘y’ attribute, which determines the vertical position(s) of the text element.
See Also
- enum LengthType
- interface ISVGElementBuilder
- interface ITextContentPositioningAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG
Y<TBuilder>(this TBuilder, double, LengthType)
Sets the ‘y’ attribute for an SVG element.
public static TBuilder Y<TBuilder>(this TBuilder builder, double value,
LengthType type = LengthType.Px)
where TBuilder : ISVGElementBuilder, IYAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The builder instance. |
value | The value for the ‘y’ attribute. |
type | The type of length measurement (default is pixels). |
Return Value
The builder instance for chaining.
See Also
- enum LengthType
- interface ISVGElementBuilder
- interface IYAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG