ToRounded() публичный статический Метод

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
Результат Bitmap
 protected override UIImage Transform(UIImage source)
 {
     return(RoundedTransformation.ToRounded(source, 0f, 1f, 1f, _borderSize, _borderHexColor));
 }
 protected override Bitmap Transform(Bitmap sourceBitmap, string path, Work.ImageSource source, bool isPlaceholder, string key)
 {
     return(RoundedTransformation.ToRounded(sourceBitmap, 0f, 1f, 1f, BorderSize, BorderHexColor));
 }
Пример #3
0
 protected override NSImage Transform(NSImage sourceBitmap, string path, Work.ImageSource source, bool isPlaceholder, string key)
 {
     return(Helpers.MainThreadDispatcher.PostForResult <NSImage>(() => RoundedTransformation.ToRounded(sourceBitmap, 0f, 1f, 1f, BorderSize, BorderHexColor)));
 }
Пример #4
0
 protected override BitmapHolder Transform(BitmapHolder source)
 {
     return(RoundedTransformation.ToRounded(source, 0, 1f, 1f, BorderSize, BorderHexColor));
 }
Пример #5
0
 protected override Bitmap Transform(Bitmap source)
 {
     return(RoundedTransformation.ToRounded(source, 0f, 1f, 1f, _borderSize, _borderHexColor));
 }
 protected override BitmapHolder Transform(BitmapHolder bitmapSource, string path, ImageSource source, bool isPlaceholder, string key)
 {
     return(RoundedTransformation.ToRounded(bitmapSource, 0, 1.0, 1.0, BorderSize, BorderHexColor));
 }