Browse Source

Added docs

pull/1694/head
Dmitry Pentin 5 years ago
parent
commit
86a7b462c4
  1. 7
      src/ImageSharp/Image{TPixel}.cs

7
src/ImageSharp/Image{TPixel}.cs

@ -87,6 +87,13 @@ namespace SixLabors.ImageSharp
this.frames = new ImageFrameCollection<TPixel>(this, width, height, default(TPixel));
}
/// <summary>
/// Initializes a new instance of the <see cref="Image{TPixel}"/> class
/// wrapping an external <see cref="Buffer2D{TPixel}" pixel buffer.
/// </summary>
/// <param name="configuration">The configuration providing initialization code which allows extending the library.</param>
/// <param name="pixelBuffer">Pixel buffer.</param>
/// <param name="metadata">The images metadata.</param>
internal Image(
Configuration configuration,
Buffer2D<TPixel> pixelBuffer,

Loading…
Cancel
Save