/** * The color used to fill this shape. */ public Color getFillColor(){ return getFill().getForegroundColor(); }
@Override protected Color getSlideBGColor(int index){ return slides[index].getBackground().getFill().getForegroundColor(); }
Color fillColor = shape.getFill().getForegroundColor(); if (fillColor != null) {
switch (f.getFillType()) { case Fill.FILL_SOLID: Color color = f.getForegroundColor(); graphics.setPaint(color); graphics.fill(anchor);