Table of Contents

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

surface ISurface<TPixel>
x int
y int
value TPixel

Returns

bool

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 Point2Int32
value TPixel

Returns

bool

Type Parameters

TPixel