C# Class UICalendar.Graphics

Show file Open project: Clancey/UICalendar

Public Methods

Method Description
AdjustImage ( CGRect rect, UIImage template, CGBlendMode mode, UIColor color ) : UIImage
AdjustImage ( CGRect rect, UIImage template, CGBlendMode mode, nfloat red, nfloat green, nfloat blue, nfloat alpha ) : UIImage
AdjustImage ( UIImage template, CGBlendMode mode, UIColor color ) : UIImage
AdjustImage ( UIImage template, CGBlendMode mode, float red, float green, float blue, float alpha ) : UIImage
ResizeImage ( UIImage theImage, nfloat width, nfloat height, bool keepRatio ) : UIImage
newImage ( CGRect rect, UIColor color ) : UIImage

Private Methods

Method Description
MakeRoundedPath ( float size ) : CGPath
PrepareForProfileView ( UIImage image ) : UIImage
RemoveSharpEdges ( UIImage image ) : UIImage

Method Details

AdjustImage() public static method

public static AdjustImage ( CGRect rect, UIImage template, CGBlendMode mode, UIColor color ) : UIImage
rect CGRect
template UIImage
mode CGBlendMode
color UIColor
return UIImage

AdjustImage() public static method

public static AdjustImage ( CGRect rect, UIImage template, CGBlendMode mode, nfloat red, nfloat green, nfloat blue, nfloat alpha ) : UIImage
rect CGRect
template UIImage
mode CGBlendMode
red nfloat
green nfloat
blue nfloat
alpha nfloat
return UIImage

AdjustImage() public static method

public static AdjustImage ( UIImage template, CGBlendMode mode, UIColor color ) : UIImage
template UIImage
mode CGBlendMode
color UIColor
return UIImage

AdjustImage() public static method

public static AdjustImage ( UIImage template, CGBlendMode mode, float red, float green, float blue, float alpha ) : UIImage
template UIImage
mode CGBlendMode
red float
green float
blue float
alpha float
return UIImage

ResizeImage() public static method

public static ResizeImage ( UIImage theImage, nfloat width, nfloat height, bool keepRatio ) : UIImage
theImage UIImage
width nfloat
height nfloat
keepRatio bool
return UIImage

newImage() public static method

public static newImage ( CGRect rect, UIColor color ) : UIImage
rect CGRect
color UIColor
return UIImage