public MoveArrow(ArrowInfo arrow, int oldX, int oldY, int newX, int newY) { Arrow = arrow; OldX = oldX; OldY = oldY; NewX = newX; NewY = newY; }
public ConvertArrow(ArrowInfo arrow, Cloud parentCloud) { OldArrow = arrow; NewArrow = arrow is SingleArrowInfo sai ? new DoubleArrowInfo { X = sai.X, Y = sai.Y, Annotation = sai.Annotation, Direction = (DoubleDirection)((int)sai.Direction % 4), Marked = sai.Marked } : arrow is DoubleArrowInfo dai ? (ArrowInfo) new SingleArrowInfo { X = dai.X, Y = dai.Y, Annotation = dai.Annotation, Direction = (Direction)(int)dai.Direction, Marked = dai.Marked } : null; ParentCloud = parentCloud; }
public RotateArrow(ArrowInfo arrow, bool clockwise) { Arrow = arrow; Clockwise = clockwise; }
public ToggleMark(ArrowInfo arrow) { Arrow = arrow; }
public ArrowAnnotation(ArrowInfo arrow, string oldAnnotation, string newAnnotation) { Arrow = arrow; OldAnnotation = oldAnnotation; NewAnnotation = newAnnotation; }