C# 클래스 System.Drawing.Bitmap

상속: Image
파일 보기 프로젝트 열기: mono/sysdrawing-coregraphics 1 사용 예제들

공개 메소드들

메소드 설명
Bitmap ( Image image ) : AppKit

Initializes a new instance of the System.Drawing.Bitmap class from the specified existing image..

Bitmap ( Image original, Size newSize ) : AppKit
Bitmap ( Image original, int width, int height ) : AppKit
Bitmap ( Stream stream, bool useIcm ) : AppKit
Bitmap ( int width, int height ) : AppKit
Bitmap ( int width, int height, PixelFormat format ) : AppKit
Bitmap ( string filename ) : AppKit
Clone ( Rectangle rect, PixelFormat pixelFormat ) : Bitmap

Creates a copy of the section of this Bitmap defined by Rectangle structure and with a specified PixelFormat enumeration.

GetPixel ( int x, int y ) : Color
LockBits ( RectangleF rect, ImageLockMode flags, PixelFormat pixelFormat ) : BitmapData
MakeTransparent ( ) : void
MakeTransparent ( Color transparentColor ) : void
Save ( Stream stream, ImageFormat format ) : void
Save ( string path ) : void
Save ( string path, ImageFormat format ) : void
SetPixel ( int x, int y, Color color ) : void
SetResolution ( float xDpi, float yDpi ) : void
UnlockBits ( BitmapData data ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
Convert_BGRA_8888_To_P_RGBA_8888 ( IntPtr source, IntPtr destination, int scanLength ) : void
Convert_BGR_888_To_P_RGBA_8888 ( IntPtr source, IntPtr destination, int scanLength ) : void
Convert_P_RGBA_8888_To_BGRA_8888 ( byte &scanLine, byte source ) : void
Convert_P_RGBA_8888_To_BGR_888 ( byte &scanLine, byte source ) : void
CreateCompatibleBitmapContext ( int width, int height, PixelFormat pixelFormat ) : CGBitmapContext
CreateCompatibleBitmapContext ( int width, int height, PixelFormat pixelFormat, IntPtr pixelData ) : CGBitmapContext
GetBestSupportedFormat ( PixelFormat pixelFormat ) : PixelFormat
GetRenderableContext ( ) : CGBitmapContext
GuessPixelFormat ( ) : void
InitWithCGImage ( CGImage image ) : void
InitializeImageFrame ( int frame ) : void
MakeSureWeHaveAnAlphaChannel ( ) : void
RectangularCopy ( byte dstScanLine, byte srcScanLine, int dstStride, int srcStride, int width, int height, int sizeOfPixel ) : void
RotateFlip ( RotateFlipType rotateFlipType ) : void
SetImageInformation ( int frame ) : void
flipImageYAxis ( IntPtr source, IntPtr dest, int stride, int height, int size ) : void
flipImageYAxis ( int width, int height, int size ) : void
memcpy ( byte dest, byte src, int count ) : void

메소드 상세

Bitmap() 공개 메소드

Initializes a new instance of the System.Drawing.Bitmap class from the specified existing image..
public Bitmap ( Image image ) : AppKit
image Image Image.
리턴 AppKit

Bitmap() 공개 메소드

public Bitmap ( Image original, Size newSize ) : AppKit
original Image
newSize Size
리턴 AppKit

Bitmap() 공개 메소드

public Bitmap ( Image original, int width, int height ) : AppKit
original Image
width int
height int
리턴 AppKit

Bitmap() 공개 메소드

public Bitmap ( Stream stream, bool useIcm ) : AppKit
stream System.IO.Stream
useIcm bool
리턴 AppKit

Bitmap() 공개 메소드

public Bitmap ( int width, int height ) : AppKit
width int
height int
리턴 AppKit

Bitmap() 공개 메소드

public Bitmap ( int width, int height, PixelFormat format ) : AppKit
width int
height int
format PixelFormat
리턴 AppKit

Bitmap() 공개 메소드

public Bitmap ( string filename ) : AppKit
filename string
리턴 AppKit

Clone() 공개 메소드

Creates a copy of the section of this Bitmap defined by Rectangle structure and with a specified PixelFormat enumeration.
public Clone ( Rectangle rect, PixelFormat pixelFormat ) : Bitmap
rect Rectangle Rect.
pixelFormat PixelFormat Pixel format.
리턴 Bitmap

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetPixel() 공개 메소드

public GetPixel ( int x, int y ) : Color
x int
y int
리턴 Color

LockBits() 공개 메소드

public LockBits ( RectangleF rect, ImageLockMode flags, PixelFormat pixelFormat ) : BitmapData
rect RectangleF
flags ImageLockMode
pixelFormat PixelFormat
리턴 System.Drawing.Imaging.BitmapData

MakeTransparent() 공개 메소드

public MakeTransparent ( ) : void
리턴 void

MakeTransparent() 공개 메소드

public MakeTransparent ( Color transparentColor ) : void
transparentColor Color
리턴 void

Save() 공개 메소드

public Save ( Stream stream, ImageFormat format ) : void
stream Stream
format ImageFormat
리턴 void

Save() 공개 메소드

public Save ( string path ) : void
path string
리턴 void

Save() 공개 메소드

public Save ( string path, ImageFormat format ) : void
path string
format ImageFormat
리턴 void

SetPixel() 공개 메소드

public SetPixel ( int x, int y, Color color ) : void
x int
y int
color Color
리턴 void

SetResolution() 공개 메소드

public SetResolution ( float xDpi, float yDpi ) : void
xDpi float
yDpi float
리턴 void

UnlockBits() 공개 메소드

public UnlockBits ( BitmapData data ) : void
data BitmapData
리턴 void