public void drawOn(Graphics2D g2, Shape shape) { AreaEffect[] areaEffects = asArray(); for (AreaEffect effect : areaEffects) { effect.apply(g2, shape, 0, 0); } }
private void drawPathEffects(Graphics2D g, Shape s, int w, int h) { if(getAreaEffects() != null) { //Paint pt = calculateFillPaint(component, w, h); for(AreaEffect ef : getAreaEffects()) { ef.apply(g, s, w, h); } } } }
private void drawPathEffects(Graphics2D g, Shape s, int w, int h) { if(getAreaEffects() != null) { //Paint pt = calculateFillPaint(component, w, h); for(AreaEffect ef : getAreaEffects()) { ef.apply(g, s, w, h); } } } }
private void drawPathEffects(Graphics2D g, Shape s, int w, int h) { if(getAreaEffects() != null) { //Paint pt = calculateFillPaint(component, w, h); for(AreaEffect ef : getAreaEffects()) { ef.apply(g, s, w, h); } } } }
private void drawPathEffects(Graphics2D g, Shape shape, int w, int h) { if(getAreaEffects() != null) { //Paint pt = calculateFillPaint(component, w, h); for(AreaEffect ef : getAreaEffects()) { ef.apply(g, shape, w, h); } } } }
private void drawBackground(Graphics2D g, Shape shape, int width, int height) { Paint p = getFillPaint(); if(isPaintStretched()) { p = calculateSnappedPaint(p, width, height); } g.setPaint(p); g.fill(shape); if(getAreaEffects() != null) { for(AreaEffect ef : getAreaEffects()) { ef.apply(g, shape, width, height); } } }
private void drawBackground(Graphics2D g, Shape shape, int width, int height) { Paint p = getFillPaint(); if(isPaintStretched()) { p = calculateSnappedPaint(p, width, height); } g.setPaint(p); g.fill(shape); if(getAreaEffects() != null) { for(AreaEffect ef : getAreaEffects()) { ef.apply(g, shape, width, height); } } }
private void drawBackground(Graphics2D g, Shape shape, int width, int height) { Paint p = getFillPaint(); if(isPaintStretched()) { p = calculateSnappedPaint(p, width, height); } g.setPaint(p); g.fill(shape); if(getAreaEffects() != null) { for(AreaEffect ef : getAreaEffects()) { ef.apply(g, shape, width, height); } } }
private void drawBackground(Graphics2D g, Shape shape, int width, int height) { Paint p = getFillPaint(); if(isPaintStretched()) { p = calculateSnappedPaint(p, width, height); } g.setPaint(p); g.fill(shape); if(getAreaEffects() != null) { for(AreaEffect ef : getAreaEffects()) { ef.apply(g, shape, width, height); } } }
Shape shape = provideShape(g, component, width, height); for (AreaEffect ef : getAreaEffects()) { ef.apply(g, shape, width, height);
Shape shape = provideShape(g, component, width, height); for (AreaEffect ef : getAreaEffects()) { ef.apply(g, shape, width, height);
Shape shape = provideShape(g, component, width, height); for(AreaEffect ef : getAreaEffects()) { ef.apply(g, shape, width, height);
Shape shape = provideShape(g, component, width, height); for(AreaEffect ef : getAreaEffects()) { ef.apply(g, shape, width, height);
Shape shape = provideShape(g, component, width, height); for(AreaEffect ef : getAreaEffects()) { ef.apply(g, shape, width, height);
Shape shape = provideShape(g, component, width, height); for(AreaEffect ef : getAreaEffects()) { ef.apply(g, shape, width, height);
ef.apply(g, shape, width, height);
ef.apply(g, shape, width, height);
ef.apply(g, shape, width, height);
ef.apply(g, shape, width, height);