forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglass_lozenge_protocol.gen.go
176 lines (142 loc) · 4.69 KB
/
glass_lozenge_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"
)
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglasslozenge?language=objc
type PGlassLozenge interface {
// optional
SetRadius(value float64)
HasSetRadius() bool
// optional
Radius() float64
HasRadius() bool
// optional
SetRefraction(value float64)
HasSetRefraction() bool
// optional
Refraction() float64
HasRefraction() bool
// optional
SetPoint0(value coregraphics.Point)
HasSetPoint0() bool
// optional
Point0() coregraphics.Point
HasPoint0() bool
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() Image
HasInputImage() bool
// optional
SetPoint1(value coregraphics.Point)
HasSetPoint1() bool
// optional
Point1() coregraphics.Point
HasPoint1() bool
}
// ensure impl type implements protocol interface
var _ PGlassLozenge = (*GlassLozengeObject)(nil)
// A concrete type for the [PGlassLozenge] protocol.
type GlassLozengeObject struct {
objc.Object
}
func (g_ GlassLozengeObject) HasSetRadius() bool {
return g_.RespondsToSelector(objc.Sel("setRadius:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglasslozenge/3600164-radius?language=objc
func (g_ GlassLozengeObject) SetRadius(value float64) {
objc.Call[objc.Void](g_, objc.Sel("setRadius:"), value)
}
func (g_ GlassLozengeObject) HasRadius() bool {
return g_.RespondsToSelector(objc.Sel("radius"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglasslozenge/3600164-radius?language=objc
func (g_ GlassLozengeObject) Radius() float64 {
rv := objc.Call[float64](g_, objc.Sel("radius"))
return rv
}
func (g_ GlassLozengeObject) HasSetRefraction() bool {
return g_.RespondsToSelector(objc.Sel("setRefraction:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglasslozenge/3600165-refraction?language=objc
func (g_ GlassLozengeObject) SetRefraction(value float64) {
objc.Call[objc.Void](g_, objc.Sel("setRefraction:"), value)
}
func (g_ GlassLozengeObject) HasRefraction() bool {
return g_.RespondsToSelector(objc.Sel("refraction"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglasslozenge/3600165-refraction?language=objc
func (g_ GlassLozengeObject) Refraction() float64 {
rv := objc.Call[float64](g_, objc.Sel("refraction"))
return rv
}
func (g_ GlassLozengeObject) HasSetPoint0() bool {
return g_.RespondsToSelector(objc.Sel("setPoint0:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglasslozenge/3600162-point0?language=objc
func (g_ GlassLozengeObject) SetPoint0(value coregraphics.Point) {
objc.Call[objc.Void](g_, objc.Sel("setPoint0:"), value)
}
func (g_ GlassLozengeObject) HasPoint0() bool {
return g_.RespondsToSelector(objc.Sel("point0"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglasslozenge/3600162-point0?language=objc
func (g_ GlassLozengeObject) Point0() coregraphics.Point {
rv := objc.Call[coregraphics.Point](g_, objc.Sel("point0"))
return rv
}
func (g_ GlassLozengeObject) HasSetInputImage() bool {
return g_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglasslozenge/3600161-inputimage?language=objc
func (g_ GlassLozengeObject) SetInputImage(value Image) {
objc.Call[objc.Void](g_, objc.Sel("setInputImage:"), objc.Ptr(value))
}
func (g_ GlassLozengeObject) HasInputImage() bool {
return g_.RespondsToSelector(objc.Sel("inputImage"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglasslozenge/3600161-inputimage?language=objc
func (g_ GlassLozengeObject) InputImage() Image {
rv := objc.Call[Image](g_, objc.Sel("inputImage"))
return rv
}
func (g_ GlassLozengeObject) HasSetPoint1() bool {
return g_.RespondsToSelector(objc.Sel("setPoint1:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglasslozenge/3600163-point1?language=objc
func (g_ GlassLozengeObject) SetPoint1(value coregraphics.Point) {
objc.Call[objc.Void](g_, objc.Sel("setPoint1:"), value)
}
func (g_ GlassLozengeObject) HasPoint1() bool {
return g_.RespondsToSelector(objc.Sel("point1"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglasslozenge/3600163-point1?language=objc
func (g_ GlassLozengeObject) Point1() coregraphics.Point {
rv := objc.Call[coregraphics.Point](g_, objc.Sel("point1"))
return rv
}