forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbokeh_blur_protocol.gen.go
175 lines (141 loc) · 4.96 KB
/
bokeh_blur_protocol.gen.go
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
// Code generated by DarwinKit. DO NOT EDIT.
package coreimage
import (
"github.com/progrium/macdriver/objc"
)
// The properties you use to configure a bokeh blur filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibokehblur?language=objc
type PBokehBlur interface {
// optional
SetSoftness(value float64)
HasSetSoftness() bool
// optional
Softness() float64
HasSoftness() bool
// optional
SetRadius(value float64)
HasSetRadius() bool
// optional
Radius() float64
HasRadius() bool
// optional
SetRingAmount(value float64)
HasSetRingAmount() bool
// optional
RingAmount() float64
HasRingAmount() bool
// optional
SetRingSize(value float64)
HasSetRingSize() bool
// optional
RingSize() float64
HasRingSize() bool
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() Image
HasInputImage() bool
}
// ensure impl type implements protocol interface
var _ PBokehBlur = (*BokehBlurObject)(nil)
// A concrete type for the [PBokehBlur] protocol.
type BokehBlurObject struct {
objc.Object
}
func (b_ BokehBlurObject) HasSetSoftness() bool {
return b_.RespondsToSelector(objc.Sel("setSoftness:"))
}
// The softness of the bokeh effect. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibokehblur/3228092-softness?language=objc
func (b_ BokehBlurObject) SetSoftness(value float64) {
objc.Call[objc.Void](b_, objc.Sel("setSoftness:"), value)
}
func (b_ BokehBlurObject) HasSoftness() bool {
return b_.RespondsToSelector(objc.Sel("softness"))
}
// The softness of the bokeh effect. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibokehblur/3228092-softness?language=objc
func (b_ BokehBlurObject) Softness() float64 {
rv := objc.Call[float64](b_, objc.Sel("softness"))
return rv
}
func (b_ BokehBlurObject) HasSetRadius() bool {
return b_.RespondsToSelector(objc.Sel("setRadius:"))
}
// The radius of the blur, in pixels. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibokehblur/3228089-radius?language=objc
func (b_ BokehBlurObject) SetRadius(value float64) {
objc.Call[objc.Void](b_, objc.Sel("setRadius:"), value)
}
func (b_ BokehBlurObject) HasRadius() bool {
return b_.RespondsToSelector(objc.Sel("radius"))
}
// The radius of the blur, in pixels. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibokehblur/3228089-radius?language=objc
func (b_ BokehBlurObject) Radius() float64 {
rv := objc.Call[float64](b_, objc.Sel("radius"))
return rv
}
func (b_ BokehBlurObject) HasSetRingAmount() bool {
return b_.RespondsToSelector(objc.Sel("setRingAmount:"))
}
// The amount of extra emphasis at the ring of the bokeh. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibokehblur/3228090-ringamount?language=objc
func (b_ BokehBlurObject) SetRingAmount(value float64) {
objc.Call[objc.Void](b_, objc.Sel("setRingAmount:"), value)
}
func (b_ BokehBlurObject) HasRingAmount() bool {
return b_.RespondsToSelector(objc.Sel("ringAmount"))
}
// The amount of extra emphasis at the ring of the bokeh. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibokehblur/3228090-ringamount?language=objc
func (b_ BokehBlurObject) RingAmount() float64 {
rv := objc.Call[float64](b_, objc.Sel("ringAmount"))
return rv
}
func (b_ BokehBlurObject) HasSetRingSize() bool {
return b_.RespondsToSelector(objc.Sel("setRingSize:"))
}
// The radius of the extra emphasis at the ring of the bokeh. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibokehblur/3228091-ringsize?language=objc
func (b_ BokehBlurObject) SetRingSize(value float64) {
objc.Call[objc.Void](b_, objc.Sel("setRingSize:"), value)
}
func (b_ BokehBlurObject) HasRingSize() bool {
return b_.RespondsToSelector(objc.Sel("ringSize"))
}
// The radius of the extra emphasis at the ring of the bokeh. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibokehblur/3228091-ringsize?language=objc
func (b_ BokehBlurObject) RingSize() float64 {
rv := objc.Call[float64](b_, objc.Sel("ringSize"))
return rv
}
func (b_ BokehBlurObject) HasSetInputImage() bool {
return b_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibokehblur/3228088-inputimage?language=objc
func (b_ BokehBlurObject) SetInputImage(value Image) {
objc.Call[objc.Void](b_, objc.Sel("setInputImage:"), objc.Ptr(value))
}
func (b_ BokehBlurObject) HasInputImage() bool {
return b_.RespondsToSelector(objc.Sel("inputImage"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibokehblur/3228088-inputimage?language=objc
func (b_ BokehBlurObject) InputImage() Image {
rv := objc.Call[Image](b_, objc.Sel("inputImage"))
return rv
}