@Override protected Color getSlideBGColor(int index){ return slides[index].getBackground().getFill().getForegroundColor(); }
public void draw(Graphics2D graphics){ MasterSheet master = getMasterSheet(); Background bg = getBackground(); if(bg != null)bg.draw(graphics); if(getFollowMasterObjects()){ Shape[] sh = master.getShapes(); for (int i = 0; i < sh.length; i++) { if(MasterSheet.isPlaceholder(sh[i])) continue; sh[i].draw(graphics); } } Shape[] sh = getShapes(); for (int i = 0; i < sh.length; i++) { sh[i].draw(graphics); } }