ASP.NET Pack Programmer's Guide
ScriptHelper.CreateSolidBrush Method
See Also
 





Creates a solid brush with the specified color components.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

Public Function CreateSolidBrush( _
    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 MindFusion.Drawing.SolidBrush that represents the newly created brush.

 See Also

ScriptHelper Members
ScriptHelper Class
MindFusion.Diagramming Namespace