forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheckerboard_generator_protocol.gen.go
176 lines (142 loc) · 5.37 KB
/
checkerboard_generator_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
// Code generated by DarwinKit. DO NOT EDIT.
package coreimage
import (
"github.com/progrium/macdriver/macos/coregraphics"
"github.com/progrium/macdriver/objc"
)
// The properties you use to configure a checkerboard generator filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicheckerboardgenerator?language=objc
type PCheckerboardGenerator interface {
// optional
SetCenter(value coregraphics.Point)
HasSetCenter() bool
// optional
Center() coregraphics.Point
HasCenter() bool
// optional
SetColor0(value Color)
HasSetColor0() bool
// optional
Color0() Color
HasColor0() bool
// optional
SetWidth(value float64)
HasSetWidth() bool
// optional
Width() float64
HasWidth() bool
// optional
SetColor1(value Color)
HasSetColor1() bool
// optional
Color1() Color
HasColor1() bool
// optional
SetSharpness(value float64)
HasSetSharpness() bool
// optional
Sharpness() float64
HasSharpness() bool
}
// ensure impl type implements protocol interface
var _ PCheckerboardGenerator = (*CheckerboardGeneratorObject)(nil)
// A concrete type for the [PCheckerboardGenerator] protocol.
type CheckerboardGeneratorObject struct {
objc.Object
}
func (c_ CheckerboardGeneratorObject) HasSetCenter() bool {
return c_.RespondsToSelector(objc.Sel("setCenter:"))
}
// The center of the effect as x and y coordinates. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicheckerboardgenerator/3228105-center?language=objc
func (c_ CheckerboardGeneratorObject) SetCenter(value coregraphics.Point) {
objc.Call[objc.Void](c_, objc.Sel("setCenter:"), value)
}
func (c_ CheckerboardGeneratorObject) HasCenter() bool {
return c_.RespondsToSelector(objc.Sel("center"))
}
// The center of the effect as x and y coordinates. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicheckerboardgenerator/3228105-center?language=objc
func (c_ CheckerboardGeneratorObject) Center() coregraphics.Point {
rv := objc.Call[coregraphics.Point](c_, objc.Sel("center"))
return rv
}
func (c_ CheckerboardGeneratorObject) HasSetColor0() bool {
return c_.RespondsToSelector(objc.Sel("setColor0:"))
}
// A color to use for the first set of squares. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicheckerboardgenerator/3228106-color0?language=objc
func (c_ CheckerboardGeneratorObject) SetColor0(value Color) {
objc.Call[objc.Void](c_, objc.Sel("setColor0:"), objc.Ptr(value))
}
func (c_ CheckerboardGeneratorObject) HasColor0() bool {
return c_.RespondsToSelector(objc.Sel("color0"))
}
// A color to use for the first set of squares. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicheckerboardgenerator/3228106-color0?language=objc
func (c_ CheckerboardGeneratorObject) Color0() Color {
rv := objc.Call[Color](c_, objc.Sel("color0"))
return rv
}
func (c_ CheckerboardGeneratorObject) HasSetWidth() bool {
return c_.RespondsToSelector(objc.Sel("setWidth:"))
}
// The width of the squares in the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicheckerboardgenerator/3228109-width?language=objc
func (c_ CheckerboardGeneratorObject) SetWidth(value float64) {
objc.Call[objc.Void](c_, objc.Sel("setWidth:"), value)
}
func (c_ CheckerboardGeneratorObject) HasWidth() bool {
return c_.RespondsToSelector(objc.Sel("width"))
}
// The width of the squares in the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicheckerboardgenerator/3228109-width?language=objc
func (c_ CheckerboardGeneratorObject) Width() float64 {
rv := objc.Call[float64](c_, objc.Sel("width"))
return rv
}
func (c_ CheckerboardGeneratorObject) HasSetColor1() bool {
return c_.RespondsToSelector(objc.Sel("setColor1:"))
}
// A color to use for the second set of squares. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicheckerboardgenerator/3228107-color1?language=objc
func (c_ CheckerboardGeneratorObject) SetColor1(value Color) {
objc.Call[objc.Void](c_, objc.Sel("setColor1:"), objc.Ptr(value))
}
func (c_ CheckerboardGeneratorObject) HasColor1() bool {
return c_.RespondsToSelector(objc.Sel("color1"))
}
// A color to use for the second set of squares. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicheckerboardgenerator/3228107-color1?language=objc
func (c_ CheckerboardGeneratorObject) Color1() Color {
rv := objc.Call[Color](c_, objc.Sel("color1"))
return rv
}
func (c_ CheckerboardGeneratorObject) HasSetSharpness() bool {
return c_.RespondsToSelector(objc.Sel("setSharpness:"))
}
// The sharpness of the edges in the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicheckerboardgenerator/3228108-sharpness?language=objc
func (c_ CheckerboardGeneratorObject) SetSharpness(value float64) {
objc.Call[objc.Void](c_, objc.Sel("setSharpness:"), value)
}
func (c_ CheckerboardGeneratorObject) HasSharpness() bool {
return c_.RespondsToSelector(objc.Sel("sharpness"))
}
// The sharpness of the edges in the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicheckerboardgenerator/3228108-sharpness?language=objc
func (c_ CheckerboardGeneratorObject) Sharpness() float64 {
rv := objc.Call[float64](c_, objc.Sel("sharpness"))
return rv
}