C# Class MikeCodesDotNET.iOS.UIViewExtensions

Afficher le fichier Open project: MikeCodesDotNet/Awesomizer

Méthodes publiques

Méthode 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 méthode

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

Darken() public static méthode

public static Darken ( this color, int steps ) : UIKit.UIColor
color this
steps int
Résultat UIKit.UIColor

FadeIn() public static méthode

public static FadeIn ( this view, double duration, float delay ) : void
view this
duration double
delay float
Résultat void

FlipWithDuration() public static méthode

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

IsBeingAnimated() public static méthode

public static IsBeingAnimated ( this view ) : bool
view this
Résultat bool

Lighten() public static méthode

public static Lighten ( this color, int steps ) : UIKit.UIColor
color this
steps int
Résultat UIKit.UIColor

MakeRounded() public static méthode

public static MakeRounded ( this image, int cornerRadius ) : void
image this
cornerRadius int
Résultat void

Pop() public static méthode

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

PulseToSize() public static méthode

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

RotateToAngle() public static méthode

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
Résultat void

SetHeight() public static méthode

public static SetHeight ( this view, nfloat height ) : void
view this
height nfloat
Résultat void

SetOriginX() public static méthode

public static SetOriginX ( this view, nfloat x ) : void
view this
x nfloat
Résultat void

SetOriginY() public static méthode

public static SetOriginY ( this view, nfloat y ) : void
view this
y nfloat
Résultat void

SetWidth() public static méthode

public static SetWidth ( this view, nfloat width ) : void
view this
width nfloat
Résultat void

ShakeHorizontally() public static méthode

public static ShakeHorizontally ( this view, float strength = 12.0f ) : void
view this
strength float
Résultat void

ShakeVertically() public static méthode

public static ShakeVertically ( this view, float strength = 12.0f ) : void
view this
strength float
Résultat void

StopAnimation() public static méthode

public static StopAnimation ( this view ) : void
view this
Résultat void

StringSize() public static méthode

public static StringSize ( this label ) : System.Drawing.CGSize
label this
Résultat System.Drawing.CGSize

Tint() public static méthode

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

ToUIColor() public static méthode

public static ToUIColor ( this hexString ) : UIKit.UIColor
hexString this
Résultat UIKit.UIColor