Package eu.webtoolkit.jwt
Class WGradient.ColorStop
java.lang.Object
eu.webtoolkit.jwt.WGradient.ColorStop
- Enclosing class:
- WGradient
public static class WGradient.ColorStop
extends java.lang.Object
A gradient color stop.
A color stop is defined by a color and a (relative) position. The interpretation of the position depends on the gradient style.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(WGradient.ColorStop other)
Indicates whether some other object is "equal to" this one.WColor
getColor()
Returns the color.double
getPosition()
Returns the position.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ColorStop
Constructor.
-
-
Method Details
-
getPosition
public double getPosition()Returns the position. -
getColor
Returns the color. -
equals
Indicates whether some other object is "equal to" this one.
-