Interface CanvasGradient
- All Known Implementing Classes:
CanvasGradientImpl
public interface CanvasGradient
The public interface CanvasGradient.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addColorStop
(String offset, String color) Adds the color stop.
-
Method Details
-
addColorStop
Adds the color stop.- Parameters:
offset
- the offsetcolor
- the color
-