Class CanvasGradient


  • @JsType(isNative=true,
            namespace="<global>")
    public class CanvasGradient
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      CanvasGradient()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addColorStop​(double offset, java.lang.String color)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CanvasGradient

        public CanvasGradient()
    • Method Detail

      • addColorStop

        public void addColorStop​(double offset,
                                 java.lang.String color)