Lines Matching refs:starty
70 private Paint createPaint(PaintType type, int startx, int starty,
78 int endy = starty + h;
79 Rectangle2D.Float r = new Rectangle2D.Float(startx, starty, w, h);
83 new GradientPaint(startx, starty, Color.red,
86 new LinearGradientPaint(startx, starty, endx, endy,
90 new RadialGradientPaint(startx, starty,
108 int startx, int starty, int w, int h)
110 Paint p = createPaint(type, startx, starty, w, h);
114 g.fillRect(startx, starty, w, h);
118 g.fillRect(startx, starty, w, h);
122 g.translate(startx + w*2, starty);
124 g.translate(-startx, -starty);
125 g.fillRect(startx, starty, w, h);