public override bool Equals(GeometricShutter other) { if (other is PolygonalShutter) { return(Equals((PolygonalShutter)other)); } return(false); }
public override bool Equals(GeometricShutter other) { if (other is RectangularShutter) { return(Equals((RectangularShutter)other)); } return(false); }
internal void AddDicomShutter(GeometricShutter dicomShutter) { _dicomShutters.Add(dicomShutter); Invalidate(); }
/// <summary> /// Constructs a new <see cref="RemoveGeometricShutterUndoableCommand"/>. /// </summary> /// <param name="parent">The parent <see cref="GeometricShuttersGraphic"/>.</param> /// <param name="shutter">The <see cref="GeometricShutter"/> to add to <paramref name="parent"/>.</param> public RemoveGeometricShutterUndoableCommand(GeometricShuttersGraphic parent, GeometricShutter shutter) { _parent = parent; _shutter = shutter; }