Setting Trasparency of Shape to 50%
Posted: Fri Feb 29, 2008 7:54 am
Is there any way of settings the transparency of a shape to 50%. This is the code I currently have:
com.steema.teechart.styles.Shape prediction = new com.steema.teechart.styles.Shape(chart.getChart());
prediction.setColor(Color.RED);
prediction.setStyle(ShapeStyle.RECTANGLE);
The only function I can see is this:
prediction.setTransparent(true);
But I want to st it to 50%
com.steema.teechart.styles.Shape prediction = new com.steema.teechart.styles.Shape(chart.getChart());
prediction.setColor(Color.RED);
prediction.setStyle(ShapeStyle.RECTANGLE);
The only function I can see is this:
prediction.setTransparent(true);
But I want to st it to 50%