SVGBuilderExtensions.FormatSvgLengths
SVGBuilderExtensions.FormatSvgLengths method
Formats an array of double values into a string representation of SVG lengths.
public static string FormatSvgLengths(double[] values, LengthType type)
Parameter | Type | Description |
---|---|---|
values | Double[] | The array of double values representing lengths. |
type | LengthType | The type of length unit to use (e.g., pixels). |
Return Value
A formatted string of SVG lengths.
Remarks
This utility method is used to format length values for SVG attributes, appending the appropriate unit (like ‘px’) to each value.
See Also
- enum LengthType
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG