SVGBuilderExtensions.Points
Contents
[
Hide
]Points<TBuilder>(this TBuilder, params double[])
Sets the ‘points’ attribute for an SVG element using an array of doubles.
public static TBuilder Points<TBuilder>(this TBuilder builder, params double[] points)
where TBuilder : ISVGElementBuilder, IPointsAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The builder instance. |
points | An array of doubles representing the points (must be an even number). |
Return Value
The builder instance for chaining.
Exceptions
exception | condition |
---|---|
ArgumentException | Thrown if an odd number of points are provided. |
See Also
- interface ISVGElementBuilder
- interface IPointsAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG
Points<TBuilder>(this TBuilder, params PointF[])
Sets the ‘points’ attribute for an SVG element using an array of PointF objects.
public static TBuilder Points<TBuilder>(this TBuilder builder, params PointF[] points)
where TBuilder : ISVGElementBuilder, IPointsAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The builder instance. |
points | An array of PointF objects representing the points. |
Return Value
The builder instance for chaining.
See Also
- interface ISVGElementBuilder
- interface IPointsAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG