format_svg_lengths method
format_svg_lengths
Formats an array of double values into a string representation of SVG lengths.
Returns
A formatted string of SVG lengths.
def format_svg_lengths(self, values, type):
...
Parameter | Type | Description |
---|---|---|
values | list | The array of double values representing lengths. |
type | LengthType | The type of length unit to use (e.g., pixels). |
Remarks
This utility method is used to format length values for SVG attributes, appending the appropriate unit (like ‘px’) to each value.
See Also
- module
aspose.svg.builder
- class
SVGBuilderExtensions