public final class LinearGradient extends Gradient
Paint.Type
Constructor and Description |
---|
LinearGradient(float x1,
float y1,
float x2,
float y2,
BaseTransform gradientTransform,
boolean proportional,
int spreadMethod,
List<Stop> stops) |
Modifier and Type | Method and Description |
---|---|
float |
getX1() |
float |
getX2() |
float |
getY1() |
float |
getY2() |
getGradientOffset, getGradientTransformNoClone, getNumStops, getSpreadMethod, getStops, isOpaque, setGradientOffset
getType, isMutable, isProportional
public LinearGradient(float x1, float y1, float x2, float y2, BaseTransform gradientTransform, boolean proportional, int spreadMethod, List<Stop> stops)
Copyright © 2020. All rights reserved.