C# Class MikeCodesDotNET.iOS.UIViewExtensions

ファイルを表示 Open project: MikeCodesDotNet/Awesomizer

Public Methods

Method Description
ApplyMotionEffects ( this view, float horizontalRange = 10.0f, float verticalRange = 10.0f ) : void
Darken ( this color, int steps ) : UIKit.UIColor
FadeIn ( this view, double duration, float delay ) : void
FlipWithDuration ( this view, double duration, UIViewAnimationFlipDirection direction, int repeatCount, bool shouldAutoReverse ) : void
IsBeingAnimated ( this view ) : bool
Lighten ( this color, int steps ) : UIKit.UIColor
MakeRounded ( this image, int cornerRadius ) : void
Pop ( this view, double duration, int repeatCount, float force ) : void
PulseToSize ( this view, float scale, double duration, bool repeat ) : void
RotateToAngle ( this view, float angle, double duration, UIViewAnimationRotationDirection direction, int repeatCount, bool shouldAutoReverse ) : void
SetHeight ( this view, nfloat height ) : void
SetOriginX ( this view, nfloat x ) : void
SetOriginY ( this view, nfloat y ) : void
SetWidth ( this view, nfloat width ) : void
ShakeHorizontally ( this view, float strength = 12.0f ) : void
ShakeVertically ( this view, float strength = 12.0f ) : void
StopAnimation ( this view ) : void
StringSize ( this label ) : System.Drawing.CGSize
Tint ( this img, UIKit.UIColor tint, CGBlendMode blendMode ) : UIKit.UIImage
ToUIColor ( this hexString ) : UIKit.UIColor

Method Details

ApplyMotionEffects() public static method

public static ApplyMotionEffects ( this view, float horizontalRange = 10.0f, float verticalRange = 10.0f ) : void
view this
horizontalRange float
verticalRange float
return void

Darken() public static method

public static Darken ( this color, int steps ) : UIKit.UIColor
color this
steps int
return UIKit.UIColor

FadeIn() public static method

public static FadeIn ( this view, double duration, float delay ) : void
view this
duration double
delay float
return void

FlipWithDuration() public static method

public static FlipWithDuration ( this view, double duration, UIViewAnimationFlipDirection direction, int repeatCount, bool shouldAutoReverse ) : void
view this
duration double
direction UIViewAnimationFlipDirection
repeatCount int
shouldAutoReverse bool
return void

IsBeingAnimated() public static method

public static IsBeingAnimated ( this view ) : bool
view this
return bool

Lighten() public static method

public static Lighten ( this color, int steps ) : UIKit.UIColor
color this
steps int
return UIKit.UIColor

MakeRounded() public static method

public static MakeRounded ( this image, int cornerRadius ) : void
image this
cornerRadius int
return void

Pop() public static method

public static Pop ( this view, double duration, int repeatCount, float force ) : void
view this
duration double
repeatCount int
force float
return void

PulseToSize() public static method

public static PulseToSize ( this view, float scale, double duration, bool repeat ) : void
view this
scale float
duration double
repeat bool
return void

RotateToAngle() public static method

public static RotateToAngle ( this view, float angle, double duration, UIViewAnimationRotationDirection direction, int repeatCount, bool shouldAutoReverse ) : void
view this
angle float
duration double
direction UIViewAnimationRotationDirection
repeatCount int
shouldAutoReverse bool
return void

SetHeight() public static method

public static SetHeight ( this view, nfloat height ) : void
view this
height nfloat
return void

SetOriginX() public static method

public static SetOriginX ( this view, nfloat x ) : void
view this
x nfloat
return void

SetOriginY() public static method

public static SetOriginY ( this view, nfloat y ) : void
view this
y nfloat
return void

SetWidth() public static method

public static SetWidth ( this view, nfloat width ) : void
view this
width nfloat
return void

ShakeHorizontally() public static method

public static ShakeHorizontally ( this view, float strength = 12.0f ) : void
view this
strength float
return void

ShakeVertically() public static method

public static ShakeVertically ( this view, float strength = 12.0f ) : void
view this
strength float
return void

StopAnimation() public static method

public static StopAnimation ( this view ) : void
view this
return void

StringSize() public static method

public static StringSize ( this label ) : System.Drawing.CGSize
label this
return System.Drawing.CGSize

Tint() public static method

public static Tint ( this img, UIKit.UIColor tint, CGBlendMode blendMode ) : UIKit.UIImage
img this
tint UIKit.UIColor
blendMode CGBlendMode
return UIKit.UIImage

ToUIColor() public static method

public static ToUIColor ( this hexString ) : UIKit.UIColor
hexString this
return UIKit.UIColor