C# Class FFImageLoading.Transformations.RoundedTransformation

Inheritance: ITransformation
Datei anzeigen Open project: daniel-luberda/FFImageLoading Class Usage Examples

Public Methods

Method Description
RoundedTransformation ( ) : FFImageLoading.Extensions
RoundedTransformation ( double radius ) : FFImageLoading.Extensions
RoundedTransformation ( double radius, double cropWidthRatio, double cropHeightRatio ) : FFImageLoading.Extensions
RoundedTransformation ( double radius, double cropWidthRatio, double cropHeightRatio, double borderSize, string borderHexColor ) : FFImageLoading.Extensions
RoundedTransformation ( ) : System
RoundedTransformation ( double radius ) : System
RoundedTransformation ( double radius, double cropWidthRatio, double cropHeightRatio ) : System
RoundedTransformation ( double radius, double cropWidthRatio, double cropHeightRatio, double borderSize, string borderHexColor ) : System
ToRounded ( Bitmap source, float rad, double cropWidthRatio, double cropHeightRatio, double borderSize, string borderHexColor ) : Bitmap
ToRounded ( BitmapHolder source, int rad, double cropWidthRatio, double cropHeightRatio, double borderSize, string borderHexColor ) : BitmapHolder
ToRounded ( UIImage source, nfloat rad, double cropWidthRatio, double cropHeightRatio, double borderSize, string borderHexColor ) : 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
CheckRoundedCorner ( int h, int k, int r, Corner which, int xC, int yC ) : bool
CircleAA ( BitmapHolder bitmap, int size, int color ) : void
SetPixel4 ( BitmapHolder bitmap, int centerX, int centerY, int deltaX, int deltaY, int color ) : void

Method Details

RoundedTransformation() public method

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

RoundedTransformation() public method

public RoundedTransformation ( double radius ) : FFImageLoading.Extensions
radius double
return FFImageLoading.Extensions

RoundedTransformation() public method

public RoundedTransformation ( double radius, double cropWidthRatio, double cropHeightRatio ) : FFImageLoading.Extensions
radius double
cropWidthRatio double
cropHeightRatio double
return FFImageLoading.Extensions

RoundedTransformation() public method

public RoundedTransformation ( double radius, double cropWidthRatio, double cropHeightRatio, double borderSize, string borderHexColor ) : FFImageLoading.Extensions
radius double
cropWidthRatio double
cropHeightRatio double
borderSize double
borderHexColor string
return FFImageLoading.Extensions

RoundedTransformation() public method

public RoundedTransformation ( ) : System
return System

RoundedTransformation() public method

public RoundedTransformation ( double radius ) : System
radius double
return System

RoundedTransformation() public method

public RoundedTransformation ( double radius, double cropWidthRatio, double cropHeightRatio ) : System
radius double
cropWidthRatio double
cropHeightRatio double
return System

RoundedTransformation() public method

public RoundedTransformation ( double radius, double cropWidthRatio, double cropHeightRatio, double borderSize, string borderHexColor ) : System
radius double
cropWidthRatio double
cropHeightRatio double
borderSize double
borderHexColor string
return System

ToRounded() public static method

public static ToRounded ( Bitmap source, float rad, double cropWidthRatio, double cropHeightRatio, double borderSize, string borderHexColor ) : Bitmap
source Bitmap
rad float
cropWidthRatio double
cropHeightRatio double
borderSize double
borderHexColor string
return Bitmap

ToRounded() public static method

public static ToRounded ( BitmapHolder source, int rad, double cropWidthRatio, double cropHeightRatio, double borderSize, string borderHexColor ) : BitmapHolder
source BitmapHolder
rad int
cropWidthRatio double
cropHeightRatio double
borderSize double
borderHexColor string
return BitmapHolder

ToRounded() public static method

public static ToRounded ( UIImage source, nfloat rad, double cropWidthRatio, double cropHeightRatio, double borderSize, string borderHexColor ) : UIImage
source UIImage
rad nfloat
cropWidthRatio double
cropHeightRatio double
borderSize double
borderHexColor string
return UIImage

Transform() protected method

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

Transform() protected method

protected Transform ( BitmapHolder source ) : BitmapHolder
source BitmapHolder
return 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