C# Class Frapid.Areas.Drawing.BitmapHelper

Afficher le fichier Open project: frapid/frapid

Méthodes publiques

Méthode Description
Resize ( this img, int srcX, int srcY, int srcWidth, int srcHeight, int dstWidth, int dstHeight ) : Image
ResizeCropExcess ( string path, int dstWidth, int dstHeight ) : byte[]
ResizeProportional ( this img, int width, int height, bool enlarge = false ) : Image

Method Details

Resize() public static méthode

public static Resize ( this img, int srcX, int srcY, int srcWidth, int srcHeight, int dstWidth, int dstHeight ) : Image
img this
srcX int
srcY int
srcWidth int
srcHeight int
dstWidth int
dstHeight int
Résultat Image

ResizeCropExcess() public static méthode

public static ResizeCropExcess ( string path, int dstWidth, int dstHeight ) : byte[]
path string
dstWidth int
dstHeight int
Résultat byte[]

ResizeProportional() public static méthode

public static ResizeProportional ( this img, int width, int height, bool enlarge = false ) : Image
img this
width int
height int
enlarge bool
Résultat Image