PaintContext function ( ColorModel arg0 , Rectangle arg1 , Rectangle2D arg2 , AffineTransform arg3 , RenderingHints arg4 ) { return new GradientPaintContext ( arg0 , p1 , p2 , arg3 , color1 , color2 , cyclic ) ; }
creates and returns a paintcontext used togenerate a linear color gradient pattern . see the paint #createcontext specification of themethod in the paint interface for informationon null parameter handling . concode_field_sep Color color1 concode_elem_sep Point2D.Float p1 concode_elem_sep Color color2 concode_elem_sep Point2D.Float p2 concode_elem_sep boolean cyclic concode_field_sep Color getColor2 concode_elem_sep Color getColor1 concode_elem_sep Point2D getPoint1 concode_elem_sep boolean isCyclic concode_elem_sep Point2D getPoint2 concode_elem_sep int getTransparency