Table of Contents

Method Lock

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll

Lock(IFileTypeBitmapSink)

public static IFileTypeBitmapLock Lock(this IFileTypeBitmapSink sink)

Parameters

sink IFileTypeBitmapSink

Returns

IFileTypeBitmapLock

Lock(IFileTypeBitmapSink, RectInt32)

public static IFileTypeBitmapLock Lock(this IFileTypeBitmapSink sink, RectInt32 rect)

Parameters

sink IFileTypeBitmapSink
rect RectInt32

Returns

IFileTypeBitmapLock

Lock(IFileTypeBitmapSink, BitmapLockOptions)

public static IFileTypeBitmapLock Lock(this IFileTypeBitmapSink sink, BitmapLockOptions lockOptions)

Parameters

sink IFileTypeBitmapSink
lockOptions BitmapLockOptions

Returns

IFileTypeBitmapLock

Lock<TPixel>(IFileTypeBitmapSink<TPixel>)

public static IFileTypeBitmapLock<TPixel> Lock<TPixel>(this IFileTypeBitmapSink<TPixel> sink) where TPixel : unmanaged, INaturalPixelInfo

Parameters

sink IFileTypeBitmapSink<TPixel>

Returns

IFileTypeBitmapLock<TPixel>

Type Parameters

TPixel

Lock<TPixel>(IFileTypeBitmapSink<TPixel>, RectInt32)

public static IFileTypeBitmapLock<TPixel> Lock<TPixel>(this IFileTypeBitmapSink<TPixel> sink, RectInt32 rect) where TPixel : unmanaged, INaturalPixelInfo

Parameters

sink IFileTypeBitmapSink<TPixel>
rect RectInt32

Returns

IFileTypeBitmapLock<TPixel>

Type Parameters

TPixel

Lock<TPixel>(IFileTypeBitmapSink<TPixel>, BitmapLockOptions)

public static IFileTypeBitmapLock<TPixel> Lock<TPixel>(this IFileTypeBitmapSink<TPixel> sink, BitmapLockOptions lockOptions) where TPixel : unmanaged, INaturalPixelInfo

Parameters

sink IFileTypeBitmapSink<TPixel>
lockOptions BitmapLockOptions

Returns

IFileTypeBitmapLock<TPixel>

Type Parameters

TPixel