forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcmyk_halftone.gen.go
235 lines (190 loc) · 7.09 KB
/
cmyk_halftone.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
// AUTO-GENERATED CODE, DO NOT MODIFY
package coreimage
import (
"github.com/progrium/macdriver/macos/coregraphics"
"github.com/progrium/macdriver/objc"
)
// The properties you use to configure a CMYK halftone filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone?language=objc
type PCMYKHalftone interface {
// optional
SetWidth(value float64)
HasSetWidth() bool
// optional
Width() float64
HasWidth() bool
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() IImage
HasInputImage() bool
// optional
SetGrayComponentReplacement(value float64)
HasSetGrayComponentReplacement() bool
// optional
GrayComponentReplacement() float64
HasGrayComponentReplacement() bool
// optional
SetSharpness(value float64)
HasSetSharpness() bool
// optional
Sharpness() float64
HasSharpness() bool
// optional
SetAngle(value float64)
HasSetAngle() bool
// optional
Angle() float64
HasAngle() bool
// optional
SetUnderColorRemoval(value float64)
HasSetUnderColorRemoval() bool
// optional
UnderColorRemoval() float64
HasUnderColorRemoval() bool
// optional
SetCenter(value coregraphics.Point)
HasSetCenter() bool
// optional
Center() coregraphics.Point
HasCenter() bool
}
// A concrete type wrapper for the [PCMYKHalftone] protocol.
type CMYKHalftoneWrapper struct {
objc.Object
}
func (c_ CMYKHalftoneWrapper) HasSetWidth() bool {
return c_.RespondsToSelector(objc.Sel("setWidth:"))
}
// The distance between dots in the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone/3228103-width?language=objc
func (c_ CMYKHalftoneWrapper) SetWidth(value float64) {
objc.Call[objc.Void](c_, objc.Sel("setWidth:"), value)
}
func (c_ CMYKHalftoneWrapper) HasWidth() bool {
return c_.RespondsToSelector(objc.Sel("width"))
}
// The distance between dots in the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone/3228103-width?language=objc
func (c_ CMYKHalftoneWrapper) Width() float64 {
rv := objc.Call[float64](c_, objc.Sel("width"))
return rv
}
func (c_ CMYKHalftoneWrapper) HasSetInputImage() bool {
return c_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone/3228100-inputimage?language=objc
func (c_ CMYKHalftoneWrapper) SetInputImage(value IImage) {
objc.Call[objc.Void](c_, objc.Sel("setInputImage:"), objc.Ptr(value))
}
func (c_ CMYKHalftoneWrapper) HasInputImage() bool {
return c_.RespondsToSelector(objc.Sel("inputImage"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone/3228100-inputimage?language=objc
func (c_ CMYKHalftoneWrapper) InputImage() Image {
rv := objc.Call[Image](c_, objc.Sel("inputImage"))
return rv
}
func (c_ CMYKHalftoneWrapper) HasSetGrayComponentReplacement() bool {
return c_.RespondsToSelector(objc.Sel("setGrayComponentReplacement:"))
}
// The gray component replacement value. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone/3228099-graycomponentreplacement?language=objc
func (c_ CMYKHalftoneWrapper) SetGrayComponentReplacement(value float64) {
objc.Call[objc.Void](c_, objc.Sel("setGrayComponentReplacement:"), value)
}
func (c_ CMYKHalftoneWrapper) HasGrayComponentReplacement() bool {
return c_.RespondsToSelector(objc.Sel("grayComponentReplacement"))
}
// The gray component replacement value. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone/3228099-graycomponentreplacement?language=objc
func (c_ CMYKHalftoneWrapper) GrayComponentReplacement() float64 {
rv := objc.Call[float64](c_, objc.Sel("grayComponentReplacement"))
return rv
}
func (c_ CMYKHalftoneWrapper) HasSetSharpness() bool {
return c_.RespondsToSelector(objc.Sel("setSharpness:"))
}
// The sharpness of the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone/3228101-sharpness?language=objc
func (c_ CMYKHalftoneWrapper) SetSharpness(value float64) {
objc.Call[objc.Void](c_, objc.Sel("setSharpness:"), value)
}
func (c_ CMYKHalftoneWrapper) HasSharpness() bool {
return c_.RespondsToSelector(objc.Sel("sharpness"))
}
// The sharpness of the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone/3228101-sharpness?language=objc
func (c_ CMYKHalftoneWrapper) Sharpness() float64 {
rv := objc.Call[float64](c_, objc.Sel("sharpness"))
return rv
}
func (c_ CMYKHalftoneWrapper) HasSetAngle() bool {
return c_.RespondsToSelector(objc.Sel("setAngle:"))
}
// The angle of the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone/3228097-angle?language=objc
func (c_ CMYKHalftoneWrapper) SetAngle(value float64) {
objc.Call[objc.Void](c_, objc.Sel("setAngle:"), value)
}
func (c_ CMYKHalftoneWrapper) HasAngle() bool {
return c_.RespondsToSelector(objc.Sel("angle"))
}
// The angle of the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone/3228097-angle?language=objc
func (c_ CMYKHalftoneWrapper) Angle() float64 {
rv := objc.Call[float64](c_, objc.Sel("angle"))
return rv
}
func (c_ CMYKHalftoneWrapper) HasSetUnderColorRemoval() bool {
return c_.RespondsToSelector(objc.Sel("setUnderColorRemoval:"))
}
// The under color removal value. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone/3228102-undercolorremoval?language=objc
func (c_ CMYKHalftoneWrapper) SetUnderColorRemoval(value float64) {
objc.Call[objc.Void](c_, objc.Sel("setUnderColorRemoval:"), value)
}
func (c_ CMYKHalftoneWrapper) HasUnderColorRemoval() bool {
return c_.RespondsToSelector(objc.Sel("underColorRemoval"))
}
// The under color removal value. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone/3228102-undercolorremoval?language=objc
func (c_ CMYKHalftoneWrapper) UnderColorRemoval() float64 {
rv := objc.Call[float64](c_, objc.Sel("underColorRemoval"))
return rv
}
func (c_ CMYKHalftoneWrapper) HasSetCenter() bool {
return c_.RespondsToSelector(objc.Sel("setCenter:"))
}
// The x and y position to use as the center of the halftone pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone/3228098-center?language=objc
func (c_ CMYKHalftoneWrapper) SetCenter(value coregraphics.Point) {
objc.Call[objc.Void](c_, objc.Sel("setCenter:"), value)
}
func (c_ CMYKHalftoneWrapper) HasCenter() bool {
return c_.RespondsToSelector(objc.Sel("center"))
}
// The x and y position to use as the center of the halftone pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicmykhalftone/3228098-center?language=objc
func (c_ CMYKHalftoneWrapper) Center() coregraphics.Point {
rv := objc.Call[coregraphics.Point](c_, objc.Sel("center"))
return rv
}