-
Notifications
You must be signed in to change notification settings - Fork 1
/
ApiDefinition.cs
50 lines (35 loc) · 1.2 KB
/
ApiDefinition.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
using MonoTouch.Foundation;
using System;
using MonoTouch.UIKit;
using MonoTouch.ObjCRuntime;
namespace FXBlurViewLib
{
[Category, BaseType (typeof (UIImage))]
public partial interface FXBlurView_UIImage {
[Export ("blurredImageWithRadius:iterations:tintColor:")]
UIImage BlurredImageWithRadius (float radius, uint iterations, UIColor tintColor);
}
[BaseType (typeof (UIView))]
public partial interface FXBlurView {
[Static, Export ("setUpdatesEnabled")]
void SetUpdatesEnabled ();
[Static, Export ("setUpdatesDisabled")]
void SetUpdatesDisabled ();
[Export ("blurEnabled")]
bool BlurEnabled { [Bind ("isBlurEnabled")] get; set; }
[Export ("dynamic")]
bool Dynamic { [Bind ("isDynamic")] get; set; }
[Export ("iterations")]
uint Iterations { get; set; }
[Export ("updateInterval")]
double UpdateInterval { get; set; }
[Export ("blurRadius")]
float BlurRadius { get; set; }
[Export ("tintColor", ArgumentSemantic.Retain)]
UIColor TintColor { get; set; }
[Export ("underlyingView", ArgumentSemantic.Assign)]
UIView UnderlyingView { get; set; }
[Export ("updateAsynchronously:completion:")]
void UpdateAsynchronously (bool async, Action<bool> completion);
}
}