Ejemplo n.º 1
0
        internal override void DrawLineTarget(Target target, Graphics gr, Pen pn, int activePhase)
        {
            if (!AutoTargets)
            {
                return;
            }
            PointF start = Vertices[target.ShapeIndex % 4];
            PointF end   = Vertices[(target.ShapeIndex + 1) % 4];           // mod makes sure last line loops back to (0), rather than trying to access (4)

            Lined.DrawLineTargetGivenPoints(gr, pn, activePhase, target.Position, start, end);
        }