Method GetPoint
- Namespace
- PaintDotNet.Rendering
- Assembly
- PaintDotNet.Core.dll
GetPoint<TPixel>(ISurface<TPixel>, int, int)
public static TPixel GetPoint<TPixel>(this ISurface<TPixel> surface, int x, int y) where TPixel : unmanaged, INaturalPixelInfo
Parameters
Returns
- TPixel
Type Parameters
TPixel
GetPoint<TPixel>(ISurface<TPixel>, Point2Int32)
public static TPixel GetPoint<TPixel>(this ISurface<TPixel> surface, Point2Int32 pt) where TPixel : unmanaged, INaturalPixelInfo
Parameters
surface
ISurface<TPixel>pt
Point2Int32
Returns
- TPixel
Type Parameters
TPixel