C# 클래스 ScreenToGif.FileWriters.GifWriter.PixelUtil

Helper Class that gets and sets image pixels using Marshal calls.
파일 보기 프로젝트 열기: dbremner/ScreenToGif 1 사용 예제들

공개 메소드들

메소드 설명
GetPixel ( int x, int y ) : Color

Get the color of the specified pixel

LockBits ( ) : void

Lock bitmap data.

PixelUtil ( Bitmap source ) : System

Pixel marshalling class, use this to access pixels rapidly.

SetPixel ( int x, int y, Color color ) : void

Set the color of the specified pixel

UnlockBits ( ) : void

Unlock bitmap data

메소드 상세

GetPixel() 공개 메소드

Get the color of the specified pixel
public GetPixel ( int x, int y ) : Color
x int
y int
리턴 Color

LockBits() 공개 메소드

Lock bitmap data.
public LockBits ( ) : void
리턴 void

PixelUtil() 공개 메소드

Pixel marshalling class, use this to access pixels rapidly.
public PixelUtil ( Bitmap source ) : System
source System.Drawing.Bitmap The Bitmap to work with.
리턴 System

SetPixel() 공개 메소드

Set the color of the specified pixel
public SetPixel ( int x, int y, Color color ) : void
x int
y int
color Color
리턴 void

UnlockBits() 공개 메소드

Unlock bitmap data
public UnlockBits ( ) : void
리턴 void