public class GenericGradient extends TermFunctionImpl
TermFunction.Attr, TermFunction.Blur, TermFunction.Brightness, TermFunction.Contrast, TermFunction.Counter, TermFunction.CounterFunction, TermFunction.Counters, TermFunction.CubicBezier, TermFunction.DropShadow, TermFunction.FilterFunction, TermFunction.FitContent, TermFunction.Frames, TermFunction.Gradient, TermFunction.Grayscale, TermFunction.GridFunction, TermFunction.HueRotate, TermFunction.Invert, TermFunction.LinearGradient, TermFunction.Matrix, TermFunction.Matrix3d, TermFunction.MinMax, TermFunction.Opacity, TermFunction.Perspective, TermFunction.RadialGradient, TermFunction.Repeat, TermFunction.Rotate, TermFunction.Rotate3d, TermFunction.RotateX, TermFunction.RotateY, TermFunction.RotateZ, TermFunction.Saturate, TermFunction.Scale, TermFunction.Scale3d, TermFunction.ScaleX, TermFunction.ScaleY, TermFunction.ScaleZ, TermFunction.Sepia, TermFunction.Skew, TermFunction.SkewX, TermFunction.SkewY, TermFunction.Steps, TermFunction.TimingFunction, TermFunction.TransformFunction, TermFunction.Translate, TermFunction.Translate3d, TermFunction.TranslateX, TermFunction.TranslateY, TermFunction.TranslateZTerm.OperatorDEFAULT_ARG_SEP, functionName, validoperator, valuemodCount| Constructor and Description |
|---|
GenericGradient() |
| Modifier and Type | Method and Description |
|---|---|
protected List<TermFunction.Gradient.ColorStop> |
decodeColorStops(List<List<Term<?>>> args,
int firstStop)
Loads the color stops from the gunction arguments.
|
List<TermFunction.Gradient.ColorStop> |
getColorStops() |
protected void |
loadColorStops(List<List<Term<?>>> args,
int firstStop) |
convertSideOrCorner, equals, getAngleArg, getFunctionName, getLengthArg, getLengthOrPercentArg, getNumberArg, getSeparatedArgs, getSeparatedValues, getValues, hashCode, isNumberArg, isValid, prependMinus, setFunctionName, setValid, setValue, toStringadd, add, get, getOperator, getValue, iterator, remove, setOperator, shallowClone, sizeaddAll, clear, indexOf, lastIndexOf, listIterator, listIterator, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetOperator, getValue, setOperator, shallowCloneadd, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streampublic List<TermFunction.Gradient.ColorStop> getColorStops()
protected List<TermFunction.Gradient.ColorStop> decodeColorStops(List<List<Term<?>>> args, int firstStop)
args - the comma-separated function argumentsfirstStop - the first argument to start withnull when the arguments are invalid or missingCopyright © 2019. All rights reserved.