C# Class ClanceysLib.Graphics

Datei anzeigen Open project: Clancey/ClanceyLib

Public Properties

Property Type Description
HighRes bool

Public Methods

Method Description
AdjustImage ( RectangleF rect, UIImage template, CGBlendMode mode, UIColor color ) : UIImage
AdjustImage ( RectangleF rect, UIImage template, CGBlendMode mode, float red, float green, float blue, float alpha ) : UIImage
ConfigLayerHighRes ( CALayer layer ) : void
MakeBackgroundLayer ( UIImage image, RectangleF frame ) : CALayer
RemoveSharpEdges ( UIImage image ) : UIImage
ResizeImage ( SizeF size, UIImage image, bool KeepRatio ) : UIImage

Private Methods

Method Description
MakeRoundedPath ( float size ) : CGPath

Method Details

AdjustImage() public static method

public static AdjustImage ( RectangleF rect, UIImage template, CGBlendMode mode, UIColor color ) : UIImage
rect System.Drawing.RectangleF
template UIImage
mode CGBlendMode
color UIColor
return UIImage

AdjustImage() public static method

public static AdjustImage ( RectangleF rect, UIImage template, CGBlendMode mode, float red, float green, float blue, float alpha ) : UIImage
rect System.Drawing.RectangleF
template UIImage
mode CGBlendMode
red float
green float
blue float
alpha float
return UIImage

ConfigLayerHighRes() public static method

public static ConfigLayerHighRes ( CALayer layer ) : void
layer CALayer
return void

MakeBackgroundLayer() public static method

public static MakeBackgroundLayer ( UIImage image, RectangleF frame ) : CALayer
image UIImage
frame System.Drawing.RectangleF
return CALayer

RemoveSharpEdges() public static method

public static RemoveSharpEdges ( UIImage image ) : UIImage
image UIImage
return UIImage

ResizeImage() public static method

public static ResizeImage ( SizeF size, UIImage image, bool KeepRatio ) : UIImage
size System.Drawing.SizeF
image UIImage
KeepRatio bool
return UIImage

Property Details

HighRes public_oe static_oe property

public static bool HighRes
return bool