Browse Source
Merge pull request #1906 from SixLabors/js/public-pixelbuffer
Expose ImageFrame<TPixel>.PixelBuffer
pull/1915/head
James Jackson-South
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
6 deletions
-
src/ImageSharp/ImageFrame{TPixel}.cs
|
|
|
@ -145,13 +145,8 @@ namespace SixLabors.ImageSharp |
|
|
|
source.PixelBuffer.FastMemoryGroup.CopyTo(this.PixelBuffer.FastMemoryGroup); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the image pixels. Not private as Buffer2D requires an array in its constructor.
|
|
|
|
/// </summary>
|
|
|
|
internal Buffer2D<TPixel> PixelBuffer { get; private set; } |
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
Buffer2D<TPixel> IPixelSource<TPixel>.PixelBuffer => this.PixelBuffer; |
|
|
|
public Buffer2D<TPixel> PixelBuffer { get; private set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the pixel at the specified position.
|
|
|
|
|