private void DrawPlacementArrow(DrawingContext dc)
        {
            Brush fillBrush = BondPen.Brush.Clone();

            var fatArrow = FatArrowGeometry.GetArrowGeometry(StartPoint, EndPoint);

            dc.DrawGeometry(fillBrush, null, fatArrow);
        }
Beispiel #2
0
        private void DrawPlacementArrow(DrawingContext dc)
        {
            Brush fillBrush;

            if (GreyedOut)
            {
                fillBrush = (Brush)FindResource(Globals.BlockedAdornerBrush);
            }
            else
            {
                fillBrush = BondPen.Brush.Clone();
            }

            var fatArrow = FatArrowGeometry.GetArrowGeometry(StartPoint, EndPoint);

            dc.DrawGeometry(fillBrush, null, fatArrow);
        }