public RotateProcessor(RotateProcessor definition) : base(definition) { this.Degrees = definition.Degrees; }
/// <summary> /// Initializes a new instance of the <see cref="RotateProcessor{TPixel}"/> class. /// </summary> /// <param name="configuration">The configuration which allows altering default behaviour or extending the library.</param> /// <param name="definition">The <see cref="RotateProcessor"/> defining the processor parameters.</param> /// <param name="source">The source <see cref="Image{TPixel}"/> for the current processor instance.</param> /// <param name="sourceRectangle">The source area to process for the current processor instance.</param> public RotateProcessor(Configuration configuration, RotateProcessor definition, Image <TPixel> source, Rectangle sourceRectangle) : base(configuration, definition, source, sourceRectangle) => this.degrees = definition.Degrees;
/// <summary> /// Initializes a new instance of the <see cref="RotateProcessor{TPixel}"/> class. /// </summary> /// <param name="definition">The <see cref="RotateProcessor"/> defining the processor parameters.</param> /// <param name="source">The source <see cref="Image{TPixel}"/> for the current processor instance.</param> /// <param name="sourceRectangle">The source area to process for the current processor instance.</param> public RotateProcessor(RotateProcessor definition, Image <TPixel> source, Rectangle sourceRectangle) : base(definition, source, sourceRectangle) { this.Degrees = definition.Degrees; }