|
|
@ -174,16 +174,10 @@ namespace SixLabors.ImageSharp |
|
|
public TPixel this[int x, int y] |
|
|
public TPixel this[int x, int y] |
|
|
{ |
|
|
{ |
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
get |
|
|
get => this.PixelBuffer[x, y]; |
|
|
{ |
|
|
|
|
|
return this.PixelBuffer[x, y]; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
set |
|
|
set => this.PixelBuffer[x, y] = value; |
|
|
{ |
|
|
|
|
|
this.PixelBuffer[x, y] = value; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
|