C# Class FFImageLoading.Transformations.CornersTransformation

Inheritance: ITransformation
Mostrar archivo Open project: daniel-luberda/FFImageLoading

Public Methods

Method 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

Protected Methods

Method Description
Transform ( Bitmap source ) : Bitmap
Transform ( BitmapHolder source ) : BitmapHolder
Transform ( UIImage source ) : UIImage

Private Methods

Method 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 method

public CornersTransformation ( ) : FFImageLoading.Extensions
return FFImageLoading.Extensions

CornersTransformation() public method

public CornersTransformation ( double cornersSize, CornerTransformType cornersTransformType ) : FFImageLoading.Extensions
cornersSize double
cornersTransformType CornerTransformType
return FFImageLoading.Extensions

CornersTransformation() public method

public CornersTransformation ( double cornersSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : FFImageLoading.Extensions
cornersSize double
cornersTransformType CornerTransformType
cropWidthRatio double
cropHeightRatio double
return FFImageLoading.Extensions

CornersTransformation() public method

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

CornersTransformation() public method

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
return FFImageLoading.Extensions

CornersTransformation() public method

public CornersTransformation ( ) : System
return System

CornersTransformation() public method

public CornersTransformation ( double cornersSize, CornerTransformType cornersTransformType ) : System
cornersSize double
cornersTransformType CornerTransformType
return System

CornersTransformation() public method

public CornersTransformation ( double cornersSize, CornerTransformType cornersTransformType, double cropWidthRatio, double cropHeightRatio ) : System
cornersSize double
cornersTransformType CornerTransformType
cropWidthRatio double
cropHeightRatio double
return System

CornersTransformation() public method

public CornersTransformation ( double topLeftCornerSize, double topRightCornerSize, double bottomLeftCornerSize, double bottomRightCornerSize, CornerTransformType cornersTransformType ) : System
topLeftCornerSize double
topRightCornerSize double
bottomLeftCornerSize double
bottomRightCornerSize double
cornersTransformType CornerTransformType
return System

CornersTransformation() public method

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
return System

ToTransformedCorners() public static method

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
return Bitmap

ToTransformedCorners() public static method

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
return FFImageLoading.Work.BitmapHolder

ToTransformedCorners() public static method

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
return UIImage

Transform() protected method

protected Transform ( Bitmap source ) : Bitmap
source Bitmap
return Bitmap

Transform() protected method

protected Transform ( BitmapHolder source ) : BitmapHolder
source FFImageLoading.Work.BitmapHolder
return FFImageLoading.Work.BitmapHolder

Transform() public method

public Transform ( IBitmap source ) : IBitmap
source IBitmap
return IBitmap

Transform() protected method

protected Transform ( UIImage source ) : UIImage
source UIImage
return UIImage