Smrf.NodeXL.Visualization.Wpf.VertexAndEdgeDrawerBase.GetBrush C# (CSharp) Method

GetBrush() protected method

protected GetBrush ( Color oColor ) : SolidColorBrush
oColor Color
return System.Windows.Media.SolidColorBrush
    GetBrush
    (
        Color oColor
    )
    {
        AssertValid();

        if (oColor == m_oDefaultBrush.Color)
        {
            return (m_oDefaultBrush);
        }

        return ( CreateFrozenSolidColorBrush(oColor) );
    }