forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdepth_of_field_protocol.gen.go
238 lines (192 loc) · 7.4 KB
/
depth_of_field_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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
// Code generated by DarwinKit. DO NOT EDIT.
package coreimage
import (
"github.com/progrium/darwinkit/macos/coregraphics"
"github.com/progrium/darwinkit/objc"
)
// The properties you use to configure a depth-of-field filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield?language=objc
type PDepthOfField interface {
// optional
SetSaturation(value float32)
HasSetSaturation() bool
// optional
Saturation() float32
HasSaturation() bool
// optional
SetPoint1(value coregraphics.Point)
HasSetPoint1() bool
// optional
Point1() coregraphics.Point
HasPoint1() bool
// optional
SetUnsharpMaskRadius(value float32)
HasSetUnsharpMaskRadius() bool
// optional
UnsharpMaskRadius() float32
HasUnsharpMaskRadius() bool
// optional
SetPoint0(value coregraphics.Point)
HasSetPoint0() bool
// optional
Point0() coregraphics.Point
HasPoint0() bool
// optional
SetRadius(value float32)
HasSetRadius() bool
// optional
Radius() float32
HasRadius() bool
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() Image
HasInputImage() bool
// optional
SetUnsharpMaskIntensity(value float32)
HasSetUnsharpMaskIntensity() bool
// optional
UnsharpMaskIntensity() float32
HasUnsharpMaskIntensity() bool
}
// ensure impl type implements protocol interface
var _ PDepthOfField = (*DepthOfFieldObject)(nil)
// A concrete type for the [PDepthOfField] protocol.
type DepthOfFieldObject struct {
objc.Object
}
func (d_ DepthOfFieldObject) HasSetSaturation() bool {
return d_.RespondsToSelector(objc.Sel("setSaturation:"))
}
// The amount to adjust the saturation by. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield/3228208-saturation?language=objc
func (d_ DepthOfFieldObject) SetSaturation(value float32) {
objc.Call[objc.Void](d_, objc.Sel("setSaturation:"), value)
}
func (d_ DepthOfFieldObject) HasSaturation() bool {
return d_.RespondsToSelector(objc.Sel("saturation"))
}
// The amount to adjust the saturation by. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield/3228208-saturation?language=objc
func (d_ DepthOfFieldObject) Saturation() float32 {
rv := objc.Call[float32](d_, objc.Sel("saturation"))
return rv
}
func (d_ DepthOfFieldObject) HasSetPoint1() bool {
return d_.RespondsToSelector(objc.Sel("setPoint1:"))
}
// The second point in the focused region of the output image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield/3228206-point1?language=objc
func (d_ DepthOfFieldObject) SetPoint1(value coregraphics.Point) {
objc.Call[objc.Void](d_, objc.Sel("setPoint1:"), value)
}
func (d_ DepthOfFieldObject) HasPoint1() bool {
return d_.RespondsToSelector(objc.Sel("point1"))
}
// The second point in the focused region of the output image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield/3228206-point1?language=objc
func (d_ DepthOfFieldObject) Point1() coregraphics.Point {
rv := objc.Call[coregraphics.Point](d_, objc.Sel("point1"))
return rv
}
func (d_ DepthOfFieldObject) HasSetUnsharpMaskRadius() bool {
return d_.RespondsToSelector(objc.Sel("setUnsharpMaskRadius:"))
}
// The radius of the unsharp mask effect applied to the in-focus area. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield/3228210-unsharpmaskradius?language=objc
func (d_ DepthOfFieldObject) SetUnsharpMaskRadius(value float32) {
objc.Call[objc.Void](d_, objc.Sel("setUnsharpMaskRadius:"), value)
}
func (d_ DepthOfFieldObject) HasUnsharpMaskRadius() bool {
return d_.RespondsToSelector(objc.Sel("unsharpMaskRadius"))
}
// The radius of the unsharp mask effect applied to the in-focus area. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield/3228210-unsharpmaskradius?language=objc
func (d_ DepthOfFieldObject) UnsharpMaskRadius() float32 {
rv := objc.Call[float32](d_, objc.Sel("unsharpMaskRadius"))
return rv
}
func (d_ DepthOfFieldObject) HasSetPoint0() bool {
return d_.RespondsToSelector(objc.Sel("setPoint0:"))
}
// The first point in the focused region of the output image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield/3228205-point0?language=objc
func (d_ DepthOfFieldObject) SetPoint0(value coregraphics.Point) {
objc.Call[objc.Void](d_, objc.Sel("setPoint0:"), value)
}
func (d_ DepthOfFieldObject) HasPoint0() bool {
return d_.RespondsToSelector(objc.Sel("point0"))
}
// The first point in the focused region of the output image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield/3228205-point0?language=objc
func (d_ DepthOfFieldObject) Point0() coregraphics.Point {
rv := objc.Call[coregraphics.Point](d_, objc.Sel("point0"))
return rv
}
func (d_ DepthOfFieldObject) HasSetRadius() bool {
return d_.RespondsToSelector(objc.Sel("setRadius:"))
}
// The distance from the center of the effect. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield/3228207-radius?language=objc
func (d_ DepthOfFieldObject) SetRadius(value float32) {
objc.Call[objc.Void](d_, objc.Sel("setRadius:"), value)
}
func (d_ DepthOfFieldObject) HasRadius() bool {
return d_.RespondsToSelector(objc.Sel("radius"))
}
// The distance from the center of the effect. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield/3228207-radius?language=objc
func (d_ DepthOfFieldObject) Radius() float32 {
rv := objc.Call[float32](d_, objc.Sel("radius"))
return rv
}
func (d_ DepthOfFieldObject) HasSetInputImage() bool {
return d_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield/3228204-inputimage?language=objc
func (d_ DepthOfFieldObject) SetInputImage(value Image) {
objc.Call[objc.Void](d_, objc.Sel("setInputImage:"), value)
}
func (d_ DepthOfFieldObject) HasInputImage() bool {
return d_.RespondsToSelector(objc.Sel("inputImage"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield/3228204-inputimage?language=objc
func (d_ DepthOfFieldObject) InputImage() Image {
rv := objc.Call[Image](d_, objc.Sel("inputImage"))
return rv
}
func (d_ DepthOfFieldObject) HasSetUnsharpMaskIntensity() bool {
return d_.RespondsToSelector(objc.Sel("setUnsharpMaskIntensity:"))
}
// The intensity of the unsharp mask effect applied to the in-focus area. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield/3228209-unsharpmaskintensity?language=objc
func (d_ DepthOfFieldObject) SetUnsharpMaskIntensity(value float32) {
objc.Call[objc.Void](d_, objc.Sel("setUnsharpMaskIntensity:"), value)
}
func (d_ DepthOfFieldObject) HasUnsharpMaskIntensity() bool {
return d_.RespondsToSelector(objc.Sel("unsharpMaskIntensity"))
}
// The intensity of the unsharp mask effect applied to the in-focus area. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthoffield/3228209-unsharpmaskintensity?language=objc
func (d_ DepthOfFieldObject) UnsharpMaskIntensity() float32 {
rv := objc.Call[float32](d_, objc.Sel("unsharpMaskIntensity"))
return rv
}