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, setGradientOffsetgetType, isMutable, isProportionalpublic LinearGradient(float x1,
float y1,
float x2,
float y2,
BaseTransform gradientTransform,
boolean proportional,
int spreadMethod,
List<Stop> stops)
Copyright © 2025. All rights reserved.