Package eu.webtoolkit.jwt
Class WGradient.ColorStop
java.lang.Object
eu.webtoolkit.jwt.WGradient.ColorStop
- Enclosing class:
- WGradient
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 TypeMethodDescriptionboolean
equals
(WGradient.ColorStop other) Indicates whether some other object is "equal to" this one.getColor()
Returns the color.double
Returns the position.
-
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.
-