y2 method
y2
Sets the ‘y2’ attribute of the SVG ’linearGradient’ element, specifying the y-coordinate of the end point of the gradient.
Returns
The current instance of SVGLinearGradientElementBuilder for method chaining.
def y2(self, value, type):
...
| Parameter | Type | Description |
|---|---|---|
| value | float | The y-coordinate of the gradient’s end point. |
| type | LengthType | The unit of measurement for the y-coordinate (default is pixels). |
See Also
- module
aspose.svg.builder - class
SVGLinearGradientElementBuilder