forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdroste_protocol.gen.go
238 lines (192 loc) · 6.15 KB
/
droste_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"
)
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste?language=objc
type PDroste interface {
// optional
SetInsetPoint1(value coregraphics.Point)
HasSetInsetPoint1() bool
// optional
InsetPoint1() coregraphics.Point
HasInsetPoint1() bool
// optional
SetPeriodicity(value float32)
HasSetPeriodicity() bool
// optional
Periodicity() float32
HasPeriodicity() bool
// optional
SetInsetPoint0(value coregraphics.Point)
HasSetInsetPoint0() bool
// optional
InsetPoint0() coregraphics.Point
HasInsetPoint0() bool
// optional
SetRotation(value float32)
HasSetRotation() bool
// optional
Rotation() float32
HasRotation() bool
// optional
SetStrands(value float32)
HasSetStrands() bool
// optional
Strands() float32
HasStrands() bool
// optional
SetZoom(value float32)
HasSetZoom() bool
// optional
Zoom() float32
HasZoom() bool
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() Image
HasInputImage() bool
}
// ensure impl type implements protocol interface
var _ PDroste = (*DrosteObject)(nil)
// A concrete type for the [PDroste] protocol.
type DrosteObject struct {
objc.Object
}
func (d_ DrosteObject) HasSetInsetPoint1() bool {
return d_.RespondsToSelector(objc.Sel("setInsetPoint1:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste/3600133-insetpoint1?language=objc
func (d_ DrosteObject) SetInsetPoint1(value coregraphics.Point) {
objc.Call[objc.Void](d_, objc.Sel("setInsetPoint1:"), value)
}
func (d_ DrosteObject) HasInsetPoint1() bool {
return d_.RespondsToSelector(objc.Sel("insetPoint1"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste/3600133-insetpoint1?language=objc
func (d_ DrosteObject) InsetPoint1() coregraphics.Point {
rv := objc.Call[coregraphics.Point](d_, objc.Sel("insetPoint1"))
return rv
}
func (d_ DrosteObject) HasSetPeriodicity() bool {
return d_.RespondsToSelector(objc.Sel("setPeriodicity:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste/3600134-periodicity?language=objc
func (d_ DrosteObject) SetPeriodicity(value float32) {
objc.Call[objc.Void](d_, objc.Sel("setPeriodicity:"), value)
}
func (d_ DrosteObject) HasPeriodicity() bool {
return d_.RespondsToSelector(objc.Sel("periodicity"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste/3600134-periodicity?language=objc
func (d_ DrosteObject) Periodicity() float32 {
rv := objc.Call[float32](d_, objc.Sel("periodicity"))
return rv
}
func (d_ DrosteObject) HasSetInsetPoint0() bool {
return d_.RespondsToSelector(objc.Sel("setInsetPoint0:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste/3600132-insetpoint0?language=objc
func (d_ DrosteObject) SetInsetPoint0(value coregraphics.Point) {
objc.Call[objc.Void](d_, objc.Sel("setInsetPoint0:"), value)
}
func (d_ DrosteObject) HasInsetPoint0() bool {
return d_.RespondsToSelector(objc.Sel("insetPoint0"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste/3600132-insetpoint0?language=objc
func (d_ DrosteObject) InsetPoint0() coregraphics.Point {
rv := objc.Call[coregraphics.Point](d_, objc.Sel("insetPoint0"))
return rv
}
func (d_ DrosteObject) HasSetRotation() bool {
return d_.RespondsToSelector(objc.Sel("setRotation:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste/3600135-rotation?language=objc
func (d_ DrosteObject) SetRotation(value float32) {
objc.Call[objc.Void](d_, objc.Sel("setRotation:"), value)
}
func (d_ DrosteObject) HasRotation() bool {
return d_.RespondsToSelector(objc.Sel("rotation"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste/3600135-rotation?language=objc
func (d_ DrosteObject) Rotation() float32 {
rv := objc.Call[float32](d_, objc.Sel("rotation"))
return rv
}
func (d_ DrosteObject) HasSetStrands() bool {
return d_.RespondsToSelector(objc.Sel("setStrands:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste/3600136-strands?language=objc
func (d_ DrosteObject) SetStrands(value float32) {
objc.Call[objc.Void](d_, objc.Sel("setStrands:"), value)
}
func (d_ DrosteObject) HasStrands() bool {
return d_.RespondsToSelector(objc.Sel("strands"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste/3600136-strands?language=objc
func (d_ DrosteObject) Strands() float32 {
rv := objc.Call[float32](d_, objc.Sel("strands"))
return rv
}
func (d_ DrosteObject) HasSetZoom() bool {
return d_.RespondsToSelector(objc.Sel("setZoom:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste/3600137-zoom?language=objc
func (d_ DrosteObject) SetZoom(value float32) {
objc.Call[objc.Void](d_, objc.Sel("setZoom:"), value)
}
func (d_ DrosteObject) HasZoom() bool {
return d_.RespondsToSelector(objc.Sel("zoom"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste/3600137-zoom?language=objc
func (d_ DrosteObject) Zoom() float32 {
rv := objc.Call[float32](d_, objc.Sel("zoom"))
return rv
}
func (d_ DrosteObject) HasSetInputImage() bool {
return d_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste/3600131-inputimage?language=objc
func (d_ DrosteObject) SetInputImage(value Image) {
objc.Call[objc.Void](d_, objc.Sel("setInputImage:"), value)
}
func (d_ DrosteObject) HasInputImage() bool {
return d_.RespondsToSelector(objc.Sel("inputImage"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidroste/3600131-inputimage?language=objc
func (d_ DrosteObject) InputImage() Image {
rv := objc.Call[Image](d_, objc.Sel("inputImage"))
return rv
}