C# Class WindowlessControls.PlatformBitmap

Inheritance: IDisposable
Afficher le fichier Open project: koush/WindowlessControls Class Usage Examples

Méthodes publiques

Свойство Type Description
TransparentBrush System.Drawing.SolidBrush
TransparentColor Color
TransparentImageAttributes System.Drawing.Imaging.ImageAttributes

Méthodes publiques

Méthode Description
Dispose ( ) : void
Draw ( Graphics g, Rectangle dstRect, Rectangle srcRect ) : void
From ( Stream bitmapStream ) : PlatformBitmap
From ( Stream bitmapStream, bool isOpaque ) : PlatformBitmap
From ( string filename ) : PlatformBitmap
FromResource ( string name ) : PlatformBitmap
GetThumbnail ( int width, int height ) : PlatformBitmap
OptimizeBitmap ( Stream bitmapStream ) : Bitmap
SafeFrom ( Stream bitmapStream ) : PlatformBitmap
SafeFrom ( string filename ) : PlatformBitmap

Private Methods

Méthode Description
IsOpaque ( string filename ) : bool
PlatformBitmap ( ) : System

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Draw() public abstract méthode

public abstract Draw ( Graphics g, Rectangle dstRect, Rectangle srcRect ) : void
g System.Drawing.Graphics
dstRect System.Drawing.Rectangle
srcRect System.Drawing.Rectangle
Résultat void

From() public static méthode

public static From ( Stream bitmapStream ) : PlatformBitmap
bitmapStream Stream
Résultat PlatformBitmap

From() public static méthode

public static From ( Stream bitmapStream, bool isOpaque ) : PlatformBitmap
bitmapStream Stream
isOpaque bool
Résultat PlatformBitmap

From() public static méthode

public static From ( string filename ) : PlatformBitmap
filename string
Résultat PlatformBitmap

FromResource() public static méthode

public static FromResource ( string name ) : PlatformBitmap
name string
Résultat PlatformBitmap

GetThumbnail() public abstract méthode

public abstract GetThumbnail ( int width, int height ) : PlatformBitmap
width int
height int
Résultat PlatformBitmap

OptimizeBitmap() public static méthode

public static OptimizeBitmap ( Stream bitmapStream ) : Bitmap
bitmapStream Stream
Résultat System.Drawing.Bitmap

SafeFrom() public static méthode

public static SafeFrom ( Stream bitmapStream ) : PlatformBitmap
bitmapStream Stream
Résultat PlatformBitmap

SafeFrom() public static méthode

public static SafeFrom ( string filename ) : PlatformBitmap
filename string
Résultat PlatformBitmap

Property Details

TransparentBrush public_oe static_oe property

public static SolidBrush,System.Drawing TransparentBrush
Résultat System.Drawing.SolidBrush

TransparentColor public_oe static_oe property

public static Color TransparentColor
Résultat Color

TransparentImageAttributes public_oe static_oe property

public static ImageAttributes,System.Drawing.Imaging TransparentImageAttributes
Résultat System.Drawing.Imaging.ImageAttributes