SVGBuilderExtensions.Dy

Dy<TBuilder>(this TBuilder, double[], LengthType)

Sets multiple vertical adjustment values for the text content.

public static TBuilder Dy<TBuilder>(this TBuilder builder, double[] values, 
    LengthType type = LengthType.Px)
    where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
valuesThe array of vertical adjustment values.
typeThe type of length unit for the values.

Return Value

The builder instance for chaining.

Remarks

This method sets the ‘dy’ attribute with multiple values, allowing for individual vertical adjustments for each character or text segment.

See Also


Dy<TBuilder>(this TBuilder, double, LengthType)

Sets a single vertical adjustment value for the text content.

public static TBuilder Dy<TBuilder>(this TBuilder builder, double value, 
    LengthType type = LengthType.Px)
    where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
valueThe vertical adjustment value.
typeThe type of length unit for the value.

Return Value

The builder instance for chaining.

Remarks

This method sets the ‘dy’ attribute with a single value, adjusting the vertical position of the text content.

See Also