C# Class FFImageLoading.Transformations.CornersTransformation

Inheritance: ITransformation
Afficher le fichier Open project: daniel-luberda/FFImageLoading

Méthodes publiques

Méthode Description
CornersTransformation ( ) : FFImageLoading.Extensions
CornersTransformation ( double cornersSize, CornerTransformType cornersTransformType ) : FFImageLoading.Extensions
CornersTransformation ( double cornersSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : FFImageLoading.Extensions
CornersTransformation ( double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType ) : FFImageLoading.Extensions
CornersTransformation ( double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : FFImageLoading.Extensions
CornersTransformation ( ) : System
CornersTransformation ( double cornersSize, CornerTransformType cornersTransformType ) : System
CornersTransformation ( double cornersSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : System
CornersTransformation ( double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType ) : System
CornersTransformation ( double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : System
ToTransformedCorners ( Bitmap source, double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : Bitmap
ToTransformedCorners ( BitmapHolder source, double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : BitmapHolder
ToTransformedCorners ( UIImage source, double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : UIImage
Transform ( IBitmap source ) : IBitmap

Méthodes protégées

Méthode Description
Transform ( Bitmap source ) : Bitmap
Transform ( BitmapHolder source ) : BitmapHolder
Transform ( UIImage source ) : UIImage

Private Methods

Méthode Description
CheckCorner ( int w, int h, int size, CornerTransformType flags, Corner which, int xC, int yC ) : bool
CheckCutCorner ( int w, int h, int size, Corner which, int xC, int yC ) : bool
CheckRoundedCorner ( int h, int k, int r, Corner which, int xC, int yC ) : bool
HasFlag ( CornerTransformType flags, CornerTransformType flag ) : bool
Slope ( double x1, double y1, double x2, double y2 ) : double

Method Details

CornersTransformation() public méthode

public CornersTransformation ( ) : FFImageLoading.Extensions
Résultat FFImageLoading.Extensions

CornersTransformation() public méthode

public CornersTransformation ( double cornersSize, CornerTransformType cornersTransformType ) : FFImageLoading.Extensions
cornersSize double
cornersTransformType CornerTransformType
Résultat FFImageLoading.Extensions

CornersTransformation() public méthode

public CornersTransformation ( double cornersSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : FFImageLoading.Extensions
cornersSize double
cornersTransformType CornerTransformType
cropWidthRatio double
cropHeightRatio double
Résultat FFImageLoading.Extensions

CornersTransformation() public méthode

public CornersTransformation ( double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType ) : FFImageLoading.Extensions
topLeftCornerSize double
topRightCornerSize double
bottomLeftCornerSize double
bottomRightCornerSize double
cornersTransformType CornerTransformType
Résultat FFImageLoading.Extensions

CornersTransformation() public méthode

public CornersTransformation ( double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : FFImageLoading.Extensions
topLeftCornerSize double
topRightCornerSize double
bottomLeftCornerSize double
bottomRightCornerSize double
cornersTransformType CornerTransformType
cropWidthRatio double
cropHeightRatio double
Résultat FFImageLoading.Extensions

CornersTransformation() public méthode

public CornersTransformation ( ) : System
Résultat System

CornersTransformation() public méthode

public CornersTransformation ( double cornersSize, CornerTransformType cornersTransformType ) : System
cornersSize double
cornersTransformType CornerTransformType
Résultat System

CornersTransformation() public méthode

public CornersTransformation ( double cornersSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : System
cornersSize double
cornersTransformType CornerTransformType
cropWidthRatio double
cropHeightRatio double
Résultat System

CornersTransformation() public méthode

public CornersTransformation ( double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType ) : System
topLeftCornerSize double
topRightCornerSize double
bottomLeftCornerSize double
bottomRightCornerSize double
cornersTransformType CornerTransformType
Résultat System

CornersTransformation() public méthode

public CornersTransformation ( double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : System
topLeftCornerSize double
topRightCornerSize double
bottomLeftCornerSize double
bottomRightCornerSize double
cornersTransformType CornerTransformType
cropWidthRatio double
cropHeightRatio double
Résultat System

ToTransformedCorners() public static méthode

public static ToTransformedCorners ( Bitmap source, double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : Bitmap
source Bitmap
topLeftCornerSize double
topRightCornerSize double
bottomLeftCornerSize double
bottomRightCornerSize double
cornersTransformType CornerTransformType
cropWidthRatio double
cropHeightRatio double
Résultat Bitmap

ToTransformedCorners() public static méthode

public static ToTransformedCorners ( BitmapHolder source, double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : BitmapHolder
source FFImageLoading.Work.BitmapHolder
topLeftCornerSize double
topRightCornerSize double
bottomLeftCornerSize double
bottomRightCornerSize double
cornersTransformType CornerTransformType
cropWidthRatio double
cropHeightRatio double
Résultat FFImageLoading.Work.BitmapHolder

ToTransformedCorners() public static méthode

public static ToTransformedCorners ( UIImage source, double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : UIImage
source UIImage
topLeftCornerSize double
topRightCornerSize double
bottomLeftCornerSize double
bottomRightCornerSize double
cornersTransformType CornerTransformType
cropWidthRatio double
cropHeightRatio double
Résultat UIImage

Transform() protected méthode

protected Transform ( Bitmap source ) : Bitmap
source Bitmap
Résultat Bitmap

Transform() protected méthode

protected Transform ( BitmapHolder source ) : BitmapHolder
source FFImageLoading.Work.BitmapHolder
Résultat FFImageLoading.Work.BitmapHolder

Transform() public méthode

public Transform ( IBitmap source ) : IBitmap
source IBitmap
Résultat IBitmap

Transform() protected méthode

protected Transform ( UIImage source ) : UIImage
source UIImage
Résultat UIImage