Java Swing Tutorial - GradientPaint Example
Constructor
- Java GradientPaint(float x1, float y1, Color color1, float x2, float y2, Color color2) Constructor
- Java GradientPaint(float x1, float y1, Color color1, float x2, float y2, Color color2, boolean cyclic) Constructor
- Java GradientPaint(Point2D pt1, Color color1, Point2D pt2, Color color2) Constructor
- Java GradientPaint(Point2D pt1, Color color1, Point2D pt2, Color color2, boolean cyclic) Constructor
Method
- Java GradientPaint .createContext (ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
- Java GradientPaint.getColor1()
- Java GradientPaint.getColor2()
- Java GradientPaint.getPoint1()
- Java GradientPaint.getPoint2()
- Java GradientPaint .getTransparency ()
- Java GradientPaint.isCyclic()