Class FSLinearGradient
- java.lang.Object
-
- com.openhtmltopdf.css.style.derived.FSLinearGradient
-
public class FSLinearGradient extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFSLinearGradient.StopPoint
-
Constructor Summary
Constructors Constructor Description FSLinearGradient(CalculatedStyle style, FSFunction function, int boxWidth, int boxHeight, CssContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetAngle()The angle of this linear gradient in compass degrees.List<FSLinearGradient.StopPoint>getStopPoints()intgetX1()intgetX2()intgetY1()intgetY2()StringtoString()
-
-
-
Constructor Detail
-
FSLinearGradient
public FSLinearGradient(CalculatedStyle style, FSFunction function, int boxWidth, int boxHeight, CssContext ctx)
-
-
Method Detail
-
getStopPoints
public List<FSLinearGradient.StopPoint> getStopPoints()
-
getAngle
public float getAngle()
The angle of this linear gradient in compass degrees.
-
getX1
public int getX1()
-
getX2
public int getX2()
-
getY1
public int getY1()
-
getY2
public int getY2()
-
-