public static class ShapePaint.ShapeDiagonal1GradientPaint 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.ShapeVerticalGradientPaintcolors, fractions, version16fit, theCenter, theSizepredefFractions, predefFractions10, predefFractions2, predefFractions3, predefFractions4, predefFractions5, predefFractions6, predefFractions7, predefFractions8, predefFractions9| Constructor and Description |
|---|
ShapeDiagonal1GradientPaint(java.awt.Color[] colors,
float[] fractions) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Paint |
realPaint(double x0,
double y0,
double x1,
double y1) |
paintpaintconfigureAreaForElement, configureAreaForGroupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, apply, createColors, createColors, createFractions, createFractions, interpolateColor, interpolateColorpublic ShapeDiagonal1GradientPaint(java.awt.Color[] colors,
float[] fractions)
public java.awt.Paint realPaint(double x0,
double y0,
double x1,
double y1)
realPaint in class ShapePaint.ShapeGradientPaint