Class Gradient
java.lang.Object
org.eclipse.e4.ui.css.core.dom.properties.Gradient
Generic class to store informations to manage Gradient color.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPercent
(Integer percent) void
addRGB
(Object rgb, CSSPrimitiveValue value) getRGBs()
boolean
boolean
isLinear()
boolean
isRadial()
void
setLinear
(boolean linear) void
setVertical
(boolean vertical)
-
Constructor Details
-
Gradient
public Gradient()
-
-
Method Details
-
setLinear
public void setLinear(boolean linear) -
isLinear
public boolean isLinear() -
isRadial
public boolean isRadial() -
addRGB
-
addPercent
-
setVertical
public void setVertical(boolean vertical) -
getRGBs
-
getValues
-
getPercents
-
getVerticalGradient
public boolean getVerticalGradient()
-