Class AbstractSVGGradientElementBridge.Stop

  • Enclosing class:
    AbstractSVGGradientElementBridge

    public static class AbstractSVGGradientElementBridge.Stop
    extends java.lang.Object
    This class represents a gradient <stop> element.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.awt.Color color
      The stop color.
      float offset
      The stop offset.
    • Constructor Summary

      Constructors 
      Constructor Description
      Stop​(java.awt.Color color, float offset)
      Constructs a new stop definition.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • color

        public java.awt.Color color
        The stop color.
      • offset

        public float offset
        The stop offset.
    • Constructor Detail

      • Stop

        public Stop​(java.awt.Color color,
                    float offset)
        Constructs a new stop definition.
        Parameters:
        color - the stop color
        offset - the stop offset