public static class ShapePaint.ShapeHorizontalGradientPaint extends ShapePaint.ShapeGradientPaint
ShapePaint.ShapeAreaPaint, ShapePaint.ShapeColorPaint, ShapePaint.ShapeDiagonal1GradientPaint, ShapePaint.ShapeDiagonal2GradientPaint, ShapePaint.ShapeDynPlainColorPaint, ShapePaint.ShapeGradientPaint, ShapePaint.ShapeHorizontalGradientPaint, ShapePaint.ShapeImageScaledPaint, ShapePaint.ShapeImageScaledRatioMaxPaint, ShapePaint.ShapeImageScaledRatioMinPaint, ShapePaint.ShapeImageTiledPaint, ShapePaint.ShapePlainColorPaint, ShapePaint.ShapeRadialGradientPaint, ShapePaint.ShapeVerticalGradientPaint
colors, fractions
fit, theCenter, theSize
predefFractions, predefFractions10, predefFractions2, predefFractions3, predefFractions4, predefFractions5, predefFractions6, predefFractions7, predefFractions8, predefFractions9
Constructor and Description |
---|
ShapeHorizontalGradientPaint(int[] colors,
float[] fractions) |
Modifier and Type | Method and Description |
---|---|
Background |
realPaint(double x0,
double y0,
double x1,
double y1) |
paint
paint
configureAreaForElement, configureAreaForGroup
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply, apply, createColors, createColors, createFractions, createFractions, interpolateColor, interpolateColor
public ShapeHorizontalGradientPaint(int[] colors, float[] fractions)
public Background realPaint(double x0, double y0, double x1, double y1)
realPaint
in class ShapePaint.ShapeGradientPaint