Beispiel #1
0
        GetContrastingColor
        (
            GraphDrawingContext oGraphDrawingContext,
            Byte btAlpha,
            Boolean bUseMaximumContrast
        )
        {
            Debug.Assert(oGraphDrawingContext != null);
            AssertValid();

            return(WpfGraphicsUtil.SetWpfColorAlpha(
                       WpfGraphicsUtil.GetContrastingColor(
                           oGraphDrawingContext.BackColor,
                           bUseMaximumContrast), btAlpha));
        }