SVGBuilderExtensions.StrokeWidth
SVGBuilderExtensions.StrokeWidth method
Sets the ‘stroke-width’ attribute for an SVG element, defining the width of the stroke.
public static TBuilder StrokeWidth<TBuilder>(this TBuilder builder, double value,
LengthType type = LengthType.Px)
where TBuilder : IAttributeSetter, IPresentationAttributeSetter
| Parameter | Description |
|---|---|
| TBuilder | The type of the SVG element builder. |
| builder | The builder instance. |
| value | The stroke width value. |
| type | The unit type for the stroke width. |
Return Value
The builder instance for chaining.
See Also
- enum LengthType
- interface IAttributeSetter
- interface IPresentationAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG