MindFusion.Wpf Pack Programmer's Guide
ScriptHelper.CreateSolidColorBrush Method
See Also
 





Creates a solid brush with the specified color components.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public Brush CreateSolidColorBrush (
    int alpha,
    int red,
    int green,
    int blue
)

Visual Basic  Copy Code

Public Function CreateSolidColorBrush( _
    alpha As Integer, _
    red As Integer, _
    green As Integer, _
    blue As Integer _
) As Brush

 Parameters

alpha

The alpha factor of the solid brush color.

red

The red component of the solid brush color.

green

The green component of the solid brush color.

blue

The blue component of the solid brush color.

 Return Value

An instance of the System.Windows.Media that represents the newly created brush.

 See Also

ScriptHelper Members
ScriptHelper Class
MindFusion.Diagramming.Wpf Namespace