forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircular_wrap.gen.go
142 lines (115 loc) · 3.69 KB
/
circular_wrap.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
// AUTO-GENERATED CODE, DO NOT MODIFY
package coreimage
import (
"github.com/progrium/macdriver/macos/coregraphics"
"github.com/progrium/macdriver/objc"
)
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicircularwrap?language=objc
type PCircularWrap interface {
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() IImage
HasInputImage() bool
// optional
SetRadius(value float64)
HasSetRadius() bool
// optional
Radius() float64
HasRadius() bool
// optional
SetAngle(value float64)
HasSetAngle() bool
// optional
Angle() float64
HasAngle() bool
// optional
SetCenter(value coregraphics.Point)
HasSetCenter() bool
// optional
Center() coregraphics.Point
HasCenter() bool
}
// A concrete type wrapper for the [PCircularWrap] protocol.
type CircularWrapWrapper struct {
objc.Object
}
func (c_ CircularWrapWrapper) HasSetInputImage() bool {
return c_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicircularwrap/3600124-inputimage?language=objc
func (c_ CircularWrapWrapper) SetInputImage(value IImage) {
objc.Call[objc.Void](c_, objc.Sel("setInputImage:"), objc.Ptr(value))
}
func (c_ CircularWrapWrapper) HasInputImage() bool {
return c_.RespondsToSelector(objc.Sel("inputImage"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicircularwrap/3600124-inputimage?language=objc
func (c_ CircularWrapWrapper) InputImage() Image {
rv := objc.Call[Image](c_, objc.Sel("inputImage"))
return rv
}
func (c_ CircularWrapWrapper) HasSetRadius() bool {
return c_.RespondsToSelector(objc.Sel("setRadius:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicircularwrap/3600125-radius?language=objc
func (c_ CircularWrapWrapper) SetRadius(value float64) {
objc.Call[objc.Void](c_, objc.Sel("setRadius:"), value)
}
func (c_ CircularWrapWrapper) HasRadius() bool {
return c_.RespondsToSelector(objc.Sel("radius"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicircularwrap/3600125-radius?language=objc
func (c_ CircularWrapWrapper) Radius() float64 {
rv := objc.Call[float64](c_, objc.Sel("radius"))
return rv
}
func (c_ CircularWrapWrapper) HasSetAngle() bool {
return c_.RespondsToSelector(objc.Sel("setAngle:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicircularwrap/3600122-angle?language=objc
func (c_ CircularWrapWrapper) SetAngle(value float64) {
objc.Call[objc.Void](c_, objc.Sel("setAngle:"), value)
}
func (c_ CircularWrapWrapper) HasAngle() bool {
return c_.RespondsToSelector(objc.Sel("angle"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicircularwrap/3600122-angle?language=objc
func (c_ CircularWrapWrapper) Angle() float64 {
rv := objc.Call[float64](c_, objc.Sel("angle"))
return rv
}
func (c_ CircularWrapWrapper) HasSetCenter() bool {
return c_.RespondsToSelector(objc.Sel("setCenter:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicircularwrap/3600123-center?language=objc
func (c_ CircularWrapWrapper) SetCenter(value coregraphics.Point) {
objc.Call[objc.Void](c_, objc.Sel("setCenter:"), value)
}
func (c_ CircularWrapWrapper) HasCenter() bool {
return c_.RespondsToSelector(objc.Sel("center"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicircularwrap/3600123-center?language=objc
func (c_ CircularWrapWrapper) Center() coregraphics.Point {
rv := objc.Call[coregraphics.Point](c_, objc.Sel("center"))
return rv
}