How can i know if a shape whose fill color is of solid type is “semitransparent” or not ? . I went through the FillFormat class but did not find any suitable method .
You can calculate the transparency in percentage using the following code.
int alpha = shp.getFillFormat().getForeColor().getAlpha();
int transparency = (int)((1.0 - ((double)alpha / 255)) * 100);