C# Класс MikeCodesDotNET.iOS.UIViewExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

ApplyMotionEffects() публичный статический Метод

public static ApplyMotionEffects ( this view, float horizontalRange = 10.0f, float verticalRange = 10.0f ) : void
view this
horizontalRange float
verticalRange float
Результат void

Darken() публичный статический Метод

public static Darken ( this color, int steps ) : UIKit.UIColor
color this
steps int
Результат UIKit.UIColor

FadeIn() публичный статический Метод

public static FadeIn ( this view, double duration, float delay ) : void
view this
duration double
delay float
Результат void

FlipWithDuration() публичный статический Метод

public static FlipWithDuration ( this view, double duration, UIViewAnimationFlipDirection direction, int repeatCount, bool shouldAutoReverse ) : void
view this
duration double
direction UIViewAnimationFlipDirection
repeatCount int
shouldAutoReverse bool
Результат void

IsBeingAnimated() публичный статический Метод

public static IsBeingAnimated ( this view ) : bool
view this
Результат bool

Lighten() публичный статический Метод

public static Lighten ( this color, int steps ) : UIKit.UIColor
color this
steps int
Результат UIKit.UIColor

MakeRounded() публичный статический Метод

public static MakeRounded ( this image, int cornerRadius ) : void
image this
cornerRadius int
Результат void

Pop() публичный статический Метод

public static Pop ( this view, double duration, int repeatCount, float force ) : void
view this
duration double
repeatCount int
force float
Результат void

PulseToSize() публичный статический Метод

public static PulseToSize ( this view, float scale, double duration, bool repeat ) : void
view this
scale float
duration double
repeat bool
Результат void

RotateToAngle() публичный статический Метод

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
Результат void

SetHeight() публичный статический Метод

public static SetHeight ( this view, nfloat height ) : void
view this
height nfloat
Результат void

SetOriginX() публичный статический Метод

public static SetOriginX ( this view, nfloat x ) : void
view this
x nfloat
Результат void

SetOriginY() публичный статический Метод

public static SetOriginY ( this view, nfloat y ) : void
view this
y nfloat
Результат void

SetWidth() публичный статический Метод

public static SetWidth ( this view, nfloat width ) : void
view this
width nfloat
Результат void

ShakeHorizontally() публичный статический Метод

public static ShakeHorizontally ( this view, float strength = 12.0f ) : void
view this
strength float
Результат void

ShakeVertically() публичный статический Метод

public static ShakeVertically ( this view, float strength = 12.0f ) : void
view this
strength float
Результат void

StopAnimation() публичный статический Метод

public static StopAnimation ( this view ) : void
view this
Результат void

StringSize() публичный статический Метод

public static StringSize ( this label ) : System.Drawing.CGSize
label this
Результат System.Drawing.CGSize

Tint() публичный статический Метод

public static Tint ( this img, UIKit.UIColor tint, CGBlendMode blendMode ) : UIKit.UIImage
img this
tint UIKit.UIColor
blendMode CGBlendMode
Результат UIKit.UIImage

ToUIColor() публичный статический Метод

public static ToUIColor ( this hexString ) : UIKit.UIColor
hexString this
Результат UIKit.UIColor