Smrf.NodeXL.Visualization.Wpf.EdgeDrawer.DrawTranslucentRectangle C# (CSharp) Method

DrawTranslucentRectangle() protected method

protected DrawTranslucentRectangle ( System.Windows.Media.DrawingContext oDrawingContext, Rect oRectangle, Color oColor ) : void
oDrawingContext System.Windows.Media.DrawingContext
oRectangle System.Windows.Rect
oColor Color
return void
    DrawTranslucentRectangle
    (
        DrawingContext oDrawingContext,
        Rect oRectangle,
        Color oColor
    )
    {
        Debug.Assert(oDrawingContext != null);
        AssertValid();

        oDrawingContext.DrawRectangle(GetBrush(oColor), null, oRectangle);
    }