KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > GradientPaint

java.awt
Class GradientPaint

java.lang.Object
  extended by java.awt.GradientPaint
All Implemented Interfaces:
Paint, Transparency
See Also:
Top Examples, Source Code, Color, Point, Shape, Graphics2D.setPaint(java.awt.Paint)

public PaintContext createContext(ColorModel cm,
                                  Rectangle deviceBounds,
                                  Rectangle2D userBounds,
                                  AffineTransform xform,
                                  RenderingHints hints)
See Also:
Paint
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getColor1()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getColor2()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Point2D getPoint1()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Point2D getPoint2()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getTransparency()
See Also:
Transparency
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public GradientPaint(float x1,
                     float y1,
                     Color color1,
                     float x2,
                     float y2,
                     Color color2)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public GradientPaint(float x1,
                     float y1,
                     Color color1,
                     float x2,
                     float y2,
                     Color color2,
                     boolean cyclic)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public GradientPaint(Point2D pt1,
                     Color color1,
                     Point2D pt2,
                     Color color2)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public GradientPaint(Point2D pt1,
                     Color color1,
                     Point2D pt2,
                     Color color2,
                     boolean cyclic)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isCyclic()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags