MindFusion.Java Package Programmer's Guide
DiagramItem.setOpacity Method
See Also
 






Sets the opacity of this item.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void setOpacity (
    float value
)

 Parameters

value

A float value between 0 and 1 specifying the item's opacity.

 Remarks

This value is applied as a factor multiplying the alpha channel of all colors in the item's graphics.

 See Also

DiagramItem Members
DiagramItem Class
com.mindfusion.diagramming Namespace
Brush Property
Pen Property