ICanvasRenderingContext2D.CreateLinearGradient
ICanvasRenderingContext2D.CreateLinearGradient method
Creates a linear gradient along the line given by the coordinates represented by the parameters.
public ICanvasGradient CreateLinearGradient(double x0, double y0, double x1, double y1)
Parameter | Type | Description |
---|---|---|
x0 | Double | The x axis of the coordinate of the start point. |
y0 | Double | The y axis of the coordinate of the start point. |
x1 | Double | The x axis of the coordinate of the end point. |
y1 | Double | The y axis of the coordinate of the end point. |
Return Value
The linear CanvasGradient.
See Also
- interface ICanvasGradient
- interface ICanvasRenderingContext2D
- package com.aspose.html.Dom.Canvas
- package Aspose.HTML