public override void PaintGhostLine(MultiPointType curveType, Point[] points) { switch (curveType) { case MultiPointType.Straight: Ghost = GhostsFactory.GetGhost(points, GhostTypes.MultiLine); break; case MultiPointType.Polygon: Ghost = GhostsFactory.GetGhost(points, GhostTypes.Polygon); break; case MultiPointType.Curve: Ghost = GhostsFactory.GetGhost(points, GhostTypes.CurvedLine); break; } }
public override void PaintGhostLine(Point ltPoint, Point rbPoint) { Ghost = GhostsFactory.GetGhost(new Point[] { ltPoint, rbPoint }, GhostTypes.Line); }