Search
InternalUtils.SetBrushAlpha Method
See Also
 





Sets the alpha channel value for all color properties of the specified brush.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static Brush SetBrushAlpha (
    Brush brush,
    int alpha
)

Visual Basic  Copy Code

Public Shared Function SetBrushAlpha( _
    brush As Brush, _
    alpha As Integer _
) As Brush

 Parameters

brush
A Brush instance.
alpha
An int value in the range 0-255 specifying color transparency.

 Return Value

A copy of the specified brush with its colors' transparency set to the specified alpha value.

 See Also