C# Class SkiaSharp.SKBitmap

Inheritance: SKObject
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Méthode Description
CanCopyTo ( SKColorType colorType ) : bool
Copy ( ) : SKBitmap
Copy ( SKColorType colorType ) : SKBitmap
CopyPixelsTo ( IntPtr dst, int dstSize, int dstRowBytes, bool preserveDstPad = false ) : bool
CopyTo ( SKBitmap destination ) : bool
CopyTo ( SKBitmap destination, SKColorType colorType ) : bool
Decode ( SKCodec codec ) : SKBitmap
Decode ( SKCodec codec, SKImageInfo bitmapInfo ) : SKBitmap
Decode ( SKData data ) : SKBitmap
Decode ( SKData data, SKImageInfo bitmapInfo ) : SKBitmap
Decode ( SKStream stream ) : SKBitmap
Decode ( SKStream stream, SKImageInfo bitmapInfo ) : SKBitmap
Decode ( byte buffer ) : SKBitmap
Decode ( byte buffer, SKImageInfo bitmapInfo ) : SKBitmap
Decode ( string filename ) : SKBitmap
Decode ( string filename, SKImageInfo bitmapInfo ) : SKBitmap
DecodeBounds ( SKData data ) : SKImageInfo
DecodeBounds ( SKStream stream ) : SKImageInfo
DecodeBounds ( byte buffer ) : SKImageInfo
DecodeBounds ( string filename ) : SKImageInfo
Erase ( SKColor color ) : void
Erase ( SKColor color, SKRectI rect ) : void
GetIndex8Color ( int x, int y ) : SKColor
GetPixel ( int x, int y ) : SKColor
GetPixels ( ) : IntPtr
GetPixels ( IntPtr &length ) : IntPtr
InstallPixels ( SKImageInfo info, IntPtr pixels ) : bool
InstallPixels ( SKImageInfo info, IntPtr pixels, int rowBytes ) : bool
InstallPixels ( SKImageInfo info, IntPtr pixels, int rowBytes, SKColorTable ctable ) : bool
InstallPixels ( SKImageInfo info, IntPtr pixels, int rowBytes, SKColorTable ctable, SKBitmapReleaseDelegate releaseProc, object context ) : bool
LockPixels ( ) : void
Reset ( ) : void
SKBitmap ( SKImageInfo info ) : System
SKBitmap ( SKImageInfo info, SKColorTable ctable ) : System
SKBitmap ( SKImageInfo info, int rowBytes ) : System
SKBitmap ( int width, int height, SKColorType colorType, SKAlphaType alphaType ) : System
SKBitmap ( int width, int height, bool isOpaque = false ) : System
SetColorTable ( SKColorTable ct ) : void
SetImmutable ( ) : void
SetPixel ( int x, int y, SKColor color ) : void
SetPixels ( IntPtr pixels ) : void
SetPixels ( IntPtr pixels, SKColorTable ct ) : void
UnlockPixels ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
SKBitmap ( ) : System
SKBitmap ( IntPtr handle, bool owns ) : System
SKBitmapReleaseInternal ( IntPtr address, IntPtr context ) : void

Method Details

CanCopyTo() public méthode

public CanCopyTo ( SKColorType colorType ) : bool
colorType SKColorType
Résultat bool

Copy() public méthode

public Copy ( ) : SKBitmap
Résultat SKBitmap

Copy() public méthode

public Copy ( SKColorType colorType ) : SKBitmap
colorType SKColorType
Résultat SKBitmap

CopyPixelsTo() public méthode

public CopyPixelsTo ( IntPtr dst, int dstSize, int dstRowBytes, bool preserveDstPad = false ) : bool
dst System.IntPtr
dstSize int
dstRowBytes int
preserveDstPad bool
Résultat bool

CopyTo() public méthode

public CopyTo ( SKBitmap destination ) : bool
destination SKBitmap
Résultat bool

CopyTo() public méthode

public CopyTo ( SKBitmap destination, SKColorType colorType ) : bool
destination SKBitmap
colorType SKColorType
Résultat bool

Decode() public static méthode

public static Decode ( SKCodec codec ) : SKBitmap
codec SKCodec
Résultat SKBitmap

Decode() public static méthode

public static Decode ( SKCodec codec, SKImageInfo bitmapInfo ) : SKBitmap
codec SKCodec
bitmapInfo SKImageInfo
Résultat SKBitmap

Decode() public static méthode

public static Decode ( SKData data ) : SKBitmap
data SKData
Résultat SKBitmap

Decode() public static méthode

public static Decode ( SKData data, SKImageInfo bitmapInfo ) : SKBitmap
data SKData
bitmapInfo SKImageInfo
Résultat SKBitmap

Decode() public static méthode

public static Decode ( SKStream stream ) : SKBitmap
stream SKStream
Résultat SKBitmap

Decode() public static méthode

public static Decode ( SKStream stream, SKImageInfo bitmapInfo ) : SKBitmap
stream SKStream
bitmapInfo SKImageInfo
Résultat SKBitmap

Decode() public static méthode

public static Decode ( byte buffer ) : SKBitmap
buffer byte
Résultat SKBitmap

Decode() public static méthode

public static Decode ( byte buffer, SKImageInfo bitmapInfo ) : SKBitmap
buffer byte
bitmapInfo SKImageInfo
Résultat SKBitmap

Decode() public static méthode

public static Decode ( string filename ) : SKBitmap
filename string
Résultat SKBitmap

Decode() public static méthode

public static Decode ( string filename, SKImageInfo bitmapInfo ) : SKBitmap
filename string
bitmapInfo SKImageInfo
Résultat SKBitmap

DecodeBounds() public static méthode

public static DecodeBounds ( SKData data ) : SKImageInfo
data SKData
Résultat SKImageInfo

DecodeBounds() public static méthode

public static DecodeBounds ( SKStream stream ) : SKImageInfo
stream SKStream
Résultat SKImageInfo

DecodeBounds() public static méthode

public static DecodeBounds ( byte buffer ) : SKImageInfo
buffer byte
Résultat SKImageInfo

DecodeBounds() public static méthode

public static DecodeBounds ( string filename ) : SKImageInfo
filename string
Résultat SKImageInfo

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Erase() public méthode

public Erase ( SKColor color ) : void
color SKColor
Résultat void

Erase() public méthode

public Erase ( SKColor color, SKRectI rect ) : void
color SKColor
rect SKRectI
Résultat void

GetIndex8Color() public méthode

public GetIndex8Color ( int x, int y ) : SKColor
x int
y int
Résultat SKColor

GetPixel() public méthode

public GetPixel ( int x, int y ) : SKColor
x int
y int
Résultat SKColor

GetPixels() public méthode

public GetPixels ( ) : IntPtr
Résultat System.IntPtr

GetPixels() public méthode

public GetPixels ( IntPtr &length ) : IntPtr
length System.IntPtr
Résultat System.IntPtr

InstallPixels() public méthode

public InstallPixels ( SKImageInfo info, IntPtr pixels ) : bool
info SKImageInfo
pixels System.IntPtr
Résultat bool

InstallPixels() public méthode

public InstallPixels ( SKImageInfo info, IntPtr pixels, int rowBytes ) : bool
info SKImageInfo
pixels System.IntPtr
rowBytes int
Résultat bool

InstallPixels() public méthode

public InstallPixels ( SKImageInfo info, IntPtr pixels, int rowBytes, SKColorTable ctable ) : bool
info SKImageInfo
pixels System.IntPtr
rowBytes int
ctable SKColorTable
Résultat bool

InstallPixels() public méthode

public InstallPixels ( SKImageInfo info, IntPtr pixels, int rowBytes, SKColorTable ctable, SKBitmapReleaseDelegate releaseProc, object context ) : bool
info SKImageInfo
pixels System.IntPtr
rowBytes int
ctable SKColorTable
releaseProc SKBitmapReleaseDelegate
context object
Résultat bool

LockPixels() public méthode

public LockPixels ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SKBitmap() public méthode

public SKBitmap ( SKImageInfo info ) : System
info SKImageInfo
Résultat System

SKBitmap() public méthode

public SKBitmap ( SKImageInfo info, SKColorTable ctable ) : System
info SKImageInfo
ctable SKColorTable
Résultat System

SKBitmap() public méthode

public SKBitmap ( SKImageInfo info, int rowBytes ) : System
info SKImageInfo
rowBytes int
Résultat System

SKBitmap() public méthode

public SKBitmap ( int width, int height, SKColorType colorType, SKAlphaType alphaType ) : System
width int
height int
colorType SKColorType
alphaType SKAlphaType
Résultat System

SKBitmap() public méthode

public SKBitmap ( int width, int height, bool isOpaque = false ) : System
width int
height int
isOpaque bool
Résultat System

SetColorTable() public méthode

public SetColorTable ( SKColorTable ct ) : void
ct SKColorTable
Résultat void

SetImmutable() public méthode

public SetImmutable ( ) : void
Résultat void

SetPixel() public méthode

public SetPixel ( int x, int y, SKColor color ) : void
x int
y int
color SKColor
Résultat void

SetPixels() public méthode

public SetPixels ( IntPtr pixels ) : void
pixels System.IntPtr
Résultat void

SetPixels() public méthode

public SetPixels ( IntPtr pixels, SKColorTable ct ) : void
pixels System.IntPtr
ct SKColorTable
Résultat void

UnlockPixels() public méthode

public UnlockPixels ( ) : void
Résultat void