ICanvasGradient.AddColorStop
ICanvasGradient.AddColorStop method
Adds a new stop, defined by an offset and a color, to the gradient.
public void AddColorStop(double offset, String color)
Parameter | Type | Description |
---|---|---|
offset | Double | A number between 0 and 1. |
color | String | A CSS color |
See Also
- interface ICanvasGradient
- package com.aspose.html.Dom.Canvas
- package Aspose.HTML