Cannot get the fill colors of these shapes


#1

When reading the visio file, I cannot get the fill colors of these shapes. These shapes fill color set with the theme style. * How do I get the fill color?

My code is as follows:
System.out.println(shape.getFill().getFillForegnd().getValue());
System.out.println(shape.getFill().getFillBkgnd().getValue());
System.out.println(shape.getInheritFill().getFillForegnd().getValue());
System.out.println(shape.getInheritFill().getFillBkgnd().getValue());

fill-color.zip (52.6 KB)


#2

@dongshuai

We have logged an issue as DIAGRAMJAVA-50672 in our issue tracking system for further investigation. We will further look into details of the issue and keep you posted with the status of ticket resolution. Please be patient and spare us little time.

We are sorry for the inconvenience.


#3

Hello, has this problem been solved ?I’m using the Java development language,in the Shape class, I tried all its methods and couldn’t find a way to get the theme style


#4

@dongshuai

We regret that earlier logged issue is not yet resolved. However, we will surely inform you as soon as the ticket is investigated and resolved. Please spare us little time.

We are sorry for the inconvenience.