PurplePen.CourseObj.EraseHighlight C# (CSharp) 메소드

EraseHighlight() 공개 메소드

public EraseHighlight ( Graphics g, Matrix xformWorldToPixel, Brush eraseBrush ) : void
g System.Drawing.Graphics
xformWorldToPixel Matrix
eraseBrush System.Drawing.Brush
리턴 void
        public void EraseHighlight(Graphics g, Matrix xformWorldToPixel, Brush eraseBrush)
        {
            Highlight(g, xformWorldToPixel, eraseBrush, true);

            // Erase any handles we have.
            PointF[] handles = GetHandles();
            if (handles != null) {
                foreach (PointF handleLocation in handles)
                    EraseHandle(handleLocation, g, xformWorldToPixel, eraseBrush);
            }
        }