Gradient stops info (1576)

Hi i have few questions about gradient stops. You can see in the code bellow that im trying to get transparency from the first stop, which is set to 43% in power point, but i get 3, also i want to know how to get brightness?
presentation: Tijana.pptx.zip (21.9 KB)

code:

String path = "Tijana.pptx";


Presentation presentation = new Presentation(path);

ISlide slide = presentation.getSlides().get_Item(0);

AutoShape shape = (AutoShape) slide.getShapes().get_Item(0);

IParagraph paragrph = shape.getTextFrame().getParagraphs().get_Item(0);

IPortion portion = paragrph.getPortions().get_Item(0);

IPortionFormatEffectiveData formatEffective = portion.createPortionFormatEffective();

IGradientStopEffectiveData gradientStop = formatEffective.getLineFormat().getFillFormat().getGradientFormat()
	.getGradientStops().get_Item(0);

System.out.println(gradientStop.getColor().getTransparency());

Also can you tell me how would one set transparency and brightness ?-

Thanks,
Zeljko

@Zeljko,

I have observed your requirements and like to share that at present the Gradient stop class only supports setting color. The provision for setting brightness and transparency is unavailable. An issue with ID SLIDESJAVA-36953 has been added as new feature request to provide requested support. This thread has been linked with the issue so that you may be automatically notified once the support will be available.