Exemplo n.º 1
0
        public virtual Figure EnableDragFeedback(bool isFeedbackEnabled)
        {
            if (isFeedbackEnabled)
            {
                _storedDashStyle = DashStyle;
                _storedFillColor = FillColor;
                FillColor        = FillColor.AdjustOpacity(0.5);
            }
            else
            {
                FillColor = _storedFillColor;
            }


            Canvas?.NeedsRepaint(this);

            return(this);
        }