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