Table of Contents

Method GetPointUnchecked

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Core.dll

GetPointUnchecked<TPixel>(ISurface<TPixel>, int, int)

public static TPixel GetPointUnchecked<TPixel>(this ISurface<TPixel> surface, int x, int y) where TPixel : unmanaged, INaturalPixelInfo

Parameters

surface ISurface<TPixel>
x int
y int

Returns

TPixel

Type Parameters

TPixel

GetPointUnchecked<TPixel>(ISurface<TPixel>, Point2Int32)

public static TPixel GetPointUnchecked<TPixel>(this ISurface<TPixel> surface, Point2Int32 pt) where TPixel : unmanaged, INaturalPixelInfo

Parameters

surface ISurface<TPixel>
pt Point2Int32

Returns

TPixel

Type Parameters

TPixel