public class FSLinearGradient extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FSLinearGradient.StopPoint |
| Constructor and Description |
|---|
FSLinearGradient(CalculatedStyle style,
FSFunction function,
int boxWidth,
int boxHeight,
CssContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
float |
getAngle()
The angle of this linear gradient in compass degrees.
|
List<FSLinearGradient.StopPoint> |
getStopPoints() |
int |
getX1() |
int |
getX2() |
int |
getY1() |
int |
getY2() |
String |
toString() |
public FSLinearGradient(CalculatedStyle style, FSFunction function, int boxWidth, int boxHeight, CssContext ctx)
public List<FSLinearGradient.StopPoint> getStopPoints()
public float getAngle()
public int getX1()
public int getX2()
public int getY1()
public int getY2()
Copyright © 2004–2025. All rights reserved.