SVGLinearGradientElementBuilder.X2
SVGLinearGradientElementBuilder.X2 method
Sets the ‘x2’ attribute of the SVG ’linearGradient’ element, specifying the x-coordinate of the end point of the gradient.
public SVGLinearGradientElementBuilder X2(double value, LengthType type = LengthType.Px)
| Parameter | Type | Description | 
|---|---|---|
| value | Double | The x-coordinate of the gradient’s end point. | 
| type | LengthType | The unit of measurement for the x-coordinate (default is pixels). | 
Return Value
The current instance of SVGLinearGradientElementBuilder for method chaining.
See Also
- enum LengthType
 - class SVGLinearGradientElementBuilder
 - namespace Aspose.Svg.Builder
 - assembly Aspose.SVG