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 TypeMethodDescriptionvoidaddPercent(Integer percent) voidaddRGB(Object rgb, CSSPrimitiveValue value) getRGBs()booleanbooleanisLinear()booleanisRadial()voidsetLinear(boolean linear) voidsetVertical(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()
-