Class GFillGradient

  • All Implemented Interfaces:

    public class GFillGradient
    extends GFill
    Gradient fill for a shape with a close relation to dojox/gfx.LinearGradient and dojox/gfx.RadialGradient.
    Christopher Mindus
    • Constructor Detail

      • GFillGradient

        public GFillGradient​(GGradient gradient)
        Creates a solid fill from a color.
    • Method Detail

      • getGradient

        public GGradient getGradient()
        Gets the gradient.
      • getType

        public GFill.Type getType()
        Gets the fill type.
        Specified by:
        getType in class GFill
      • equals

        public boolean equals​(java.lang.Object o)
        Checks if two fill objects are equal.
        Specified by:
        equals in class GFill
      • clone

        public GFillGradient clone()
        Clones this instance.
        Specified by:
        clone in class GFill
        As GFillGradient is immutable, cloning will return "this".
      • paramString

        protected java.lang.String paramString()
        Returns the parameter string representing the state of this event. This string is useful for debugging. Subclasses adds extra information to the string by preceding it with a comma followed by the extra information.
        the parameter string of this event.