returns the paintcontext used to generate the color pattern . concode_field_sep float y1 concode_elem_sep float x1 concode_elem_sep float y2 concode_elem_sep float x2 concode_elem_sep Color c1 concode_elem_sep boolean cyclic concode_elem_sep Color c2 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
PaintContext function ( ColorModel arg0 , Rectangle arg1 , Rectangle2D arg2 , AffineTransform arg3 , RenderingHints arg4 ) { Point2D loc0 = arg3 . transform ( getPoint1 ( ) , null ) ; Point2D loc1 = arg3 . transform ( getPoint2 ( ) , null ) ; return new GradientPaintContext ( ( float ) loc0 . getX ( ) , ( float ) loc0 . getY ( ) , c1 , ( float ) loc1 . getX ( ) , ( float ) loc1 . getY ( ) , c2 , cyclic ) ; }