SVGBuilderExtensions.StrokeDashArray
Contents
[
Hide
]StrokeDashArray<TBuilder>(this TBuilder, params double[])
Sets the ‘stroke-dasharray’ attribute for an SVG element, defining the pattern of dashes and gaps used to paint the stroke.
public static TBuilder StrokeDashArray<TBuilder>(this TBuilder builder, params double[] dashArray)
where TBuilder : IAttributeSetter, IPresentationAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The builder instance. |
dashArray | The array of dash lengths. |
Return Value
The builder instance for chaining.
See Also
- interface IAttributeSetter
- interface IPresentationAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG
StrokeDashArray<TBuilder>(this TBuilder, Dash)
Sets the ‘stroke-dasharray’ attribute for an SVG element using a predefined dash pattern.
public static TBuilder StrokeDashArray<TBuilder>(this TBuilder builder, Dash value)
where TBuilder : IAttributeSetter, IPresentationAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The builder instance. |
value | The dash pattern to set. |
Return Value
The builder instance for chaining.
See Also
- enum Dash
- interface IAttributeSetter
- interface IPresentationAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG