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
コード例 #1
0
 protected override UIImage Transform(UIImage source)
 {
     return(RoundedTransformation.ToRounded(source, 0f, 1f, 1f, _borderSize, _borderHexColor));
 }
コード例 #2
0
 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));
 }
コード例 #6
0
 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));
 }