Hello!
I need a little help with instantiating certain classes. Specifically, we are talking about objects that I would store in variables of type IInnerShadow, IOuterShadow and IReflection.
On versions of your product (for Java) 22.3 and below, I used the following syntax relying on the EffectFactory class:
IInnerShadow innerShadow = new EffectFactory().createInnerShadow();
IOuterShadow outerShadow = new EffectFactory().createOuterShadow();
IReflection reflection = new EffectFactory().createReflection();
However, in versions 22.4 and later, the EffectFactory class has been removed from the API and I need another solution. I noticed that something can be done using the EffectFormat class, but I cannot instantiate it by simply calling the constructor, i.e. when I do that I get an error with the message “‘EffectFormat(com.aspose.slides.v9)’ is not public in ‘com.aspose.slides.EffectFormat’. Cannot be accessed from outside package”.
Thanks!
Nenad