SVGBuilderExtensions.Rotate
Contents
[
Hide
]Rotate(this TBuilder, params double[])
Sets rotation angles for individual characters or segments of the text content.
public static TBuilder Rotate<TBuilder>(this TBuilder builder, params double[] values)
where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter
| Parameter | Description |
|---|---|
| TBuilder | The type of the SVG element builder. |
| builder | The SVG element builder. |
| values | An array of rotation angles in degrees. |
Return Value
The builder instance for chaining.
Remarks
This method sets the ‘rotate’ attribute with multiple values, allowing for individual rotation of each character or text segment.
See Also
- interface ISVGElementBuilder
- interface ITextContentPositioningAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG
Rotate(this TBuilder, double)
Sets a single rotation angle for the entire text content.
public static TBuilder Rotate<TBuilder>(this TBuilder builder, double value)
where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter
| Parameter | Description |
|---|---|
| TBuilder | The type of the SVG element builder. |
| builder | The SVG element builder. |
| value | The rotation angle in degrees. |
Return Value
The builder instance for chaining.
Remarks
This method sets the ‘rotate’ attribute with a single value, applying the same rotation angle to all text content.
See Also
- interface ISVGElementBuilder
- interface ITextContentPositioningAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG