| Modifier and Type | Class and Description |
|---|---|
| private static class | FSLinearGradient.
A stop point which does not yet have a length. |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final float | |
| private final List | |
| private int | |
| private int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | FSLinearGradient(CalculatedStyle style, FSFunction function, int boxWidth, int boxHeight, CssContext ctx)
|
| Modifier and Type | Method and Description |
|---|---|
| private float | calculateAngle(List<PropertyValue> params, int stopsStartIndex)
Calculates the angle of the linear gradient in degrees. |
| private List | calculateStopPoints(List<PropertyValue> params, CalculatedStyle style, CssContext ctx, float boxWidth, int stopsStartIndex)
|
| private float | |
| private void | |
| private float | |
| public float | |
| private int | getNextStopPointWithLengthIndex(List<FSLinearGradient.
|
| private int | |
| public List | |
| private int | |
| public int | |
| public int | |
| public int | |
| public int | |
| private boolean | |
| private boolean | |
| public String |
| _angle | back to summary |
|---|---|
| private final float _angle | |
| _stopPoints | back to summary |
|---|---|
| private final List<FSLinearGradient. | |
| x1 | back to summary |
|---|---|
| private int x1 | |
| x2 | back to summary |
|---|---|
| private int x2 | |
| y1 | back to summary |
|---|---|
| private int y1 | |
| y2 | back to summary |
|---|---|
| private int y2 | |
| FSLinearGradient | back to summary |
|---|---|
| public FSLinearGradient(CalculatedStyle style, FSFunction function, int boxWidth, int boxHeight, CssContext ctx) | |
| calculateAngle | back to summary |
|---|---|
| private float calculateAngle(List<PropertyValue> params, int stopsStartIndex) Calculates the angle of the linear gradient in degrees. | |
| calculateStopPoints | back to summary |
|---|---|
| private List | |
| deg2rad | back to summary |
|---|---|
| private float deg2rad(final float deg) | |
| endPointsFromAngle | back to summary |
|---|---|
| private void endPointsFromAngle(float angleDeg, final int w, final int h) | |
| get100PercentDefaultStopLength | back to summary |
|---|---|
| private float get100PercentDefaultStopLength(CalculatedStyle style, CssContext ctx, float boxWidth) | |
| getAngle | back to summary |
|---|---|
| public float getAngle() The angle of this linear gradient in compass degrees. | |
| getNextStopPointWithLengthIndex | back to summary |
|---|---|
| private int getNextStopPointWithLengthIndex(List<FSLinearGradient. | |
| getPrevStopPointWithLengthIndex | back to summary |
|---|---|
| private int getPrevStopPointWithLengthIndex(List<FSLinearGradient. | |
| getStopPoints | back to summary |
|---|---|
| public List | |
| getStopsStartIndex | back to summary |
|---|---|
| private int getStopsStartIndex(List<PropertyValue> params) | |
| getX1 | back to summary |
|---|---|
| public int getX1() | |
| getX2 | back to summary |
|---|---|
| public int getX2() | |
| getY1 | back to summary |
|---|---|
| public int getY1() | |
| getY2 | back to summary |
|---|---|
| public int getY2() | |
| isLengthOrPercentage | back to summary |
|---|---|
| private boolean isLengthOrPercentage(PropertyValue value) | |
| isStopPointWithLength | back to summary |
|---|---|
| private boolean isStopPointWithLength(FSLinearGradient. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public FSColor |
| _color | back to summary |
|---|---|
| private final FSColor _color | |
| IntermediateStopPoint | back to summary |
|---|---|
| pack-priv IntermediateStopPoint(FSColor color) | |
| getColor | back to summary |
|---|---|
| public FSColor getColor() | |
| Modifier and Type | Field and Description |
|---|---|
| private final float |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public String |
| _length | back to summary |
|---|---|
| private final float _length | |
| StopPoint | back to summary |
|---|---|
| pack-priv StopPoint(FSColor color, float length) | |
| getLength | back to summary |
|---|---|
| public float getLength() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |