SVGLinearGradientElementBuilder.Y1
SVGLinearGradientElementBuilder.Y1 method
Sets the ‘y1’ attribute of the SVG ’linearGradient’ element, specifying the y-coordinate of the start point of the gradient.
public SVGLinearGradientElementBuilder Y1(double value, LengthType type = LengthType.Px)
Parameter | Type | Description |
---|---|---|
value | Double | The y-coordinate of the gradient’s start point. |
type | LengthType | The unit of measurement for the y-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