/// <summary>Creates a new instance of <see cref="T:System.Drawing.Analysis.Manipulation.DefaultScanner"/> using a given <see cref="T:System.Drawing.Analysis.IGetPixelProvider"/>.</summary> /// <param name="provider">An <see cref="T:System.Drawing.Analysis.IGetPixelProvider"/> instance</param> public DefaultScanner(IGetPixelProvider provider) { if (provider == null) throw new ArgumentNullException("provider"); _provider = provider; _view = new Rectangle(0, 0, _provider.Size.Width, _provider.Size.Height); }
/// <summary>Creates a new instance of <see cref="T:System.Drawing.Analysis.Manipulation.RectangleScanner"/> using a given <see cref="T:System.Drawing.Analysis.IGetPixelProvider"/>.</summary> /// <param name="provider">An <see cref="T:System.Drawing.Analysis.IGetPixelProvider"/> instance</param> /// <param name="scanDirection">The <see cref="T:System.Drawing.Analysis.Manipulation.RectangleScanDirection"/> for the scanner to use.</param> public RectangleScanner(IGetPixelProvider provider, RectangleScanDirection scanDirection) { if (provider == null) throw new ArgumentNullException("provider"); _provider = provider; ScanDirection = scanDirection; throw new NotImplementedException(); }
/// <summary>Creates a new instance of <see cref="T:System.Drawing.Analysis.Manipulation.RectangleScanner"/> using a given <see cref="T:System.Drawing.Analysis.IGetPixelProvider"/> scanning from top to bottom.</summary> /// <param name="provider">An <see cref="T:System.Drawing.Analysis.IGetPixelProvider"/> instance</param> public RectangleScanner(IGetPixelProvider provider) : this(provider, RectangleScanDirection.TopToBottom) { }
/// <summary>Creates a new instance of <see cref="T:System.Drawing.Analysis.Manipulation.RadialScanner"/> using a given <see cref="T:System.Drawing.Analysis.IGetPixelProvider"/> scanning clockwise.</summary> /// <param name="provider">An <see cref="T:System.Drawing.Analysis.IGetPixelProvider"/> instance</param> public RadialScanner(IGetPixelProvider provider) : this(provider, RadialScanDirection.Clockwise) { }