forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_screen_protocol.gen.go
176 lines (142 loc) · 4.93 KB
/
dot_screen_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/darwinkit/macos/coregraphics"
"github.com/progrium/darwinkit/objc"
)
// The properties you use to configure a dot screen filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidotscreen?language=objc
type PDotScreen interface {
// optional
SetCenter(value coregraphics.Point)
HasSetCenter() bool
// optional
Center() coregraphics.Point
HasCenter() bool
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() Image
HasInputImage() bool
// optional
SetWidth(value float32)
HasSetWidth() bool
// optional
Width() float32
HasWidth() bool
// optional
SetAngle(value float32)
HasSetAngle() bool
// optional
Angle() float32
HasAngle() bool
// optional
SetSharpness(value float32)
HasSetSharpness() bool
// optional
Sharpness() float32
HasSharpness() bool
}
// ensure impl type implements protocol interface
var _ PDotScreen = (*DotScreenObject)(nil)
// A concrete type for the [PDotScreen] protocol.
type DotScreenObject struct {
objc.Object
}
func (d_ DotScreenObject) HasSetCenter() bool {
return d_.RespondsToSelector(objc.Sel("setCenter:"))
}
// The x and y position to use as the center of the dot screen pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidotscreen/3228232-center?language=objc
func (d_ DotScreenObject) SetCenter(value coregraphics.Point) {
objc.Call[objc.Void](d_, objc.Sel("setCenter:"), value)
}
func (d_ DotScreenObject) HasCenter() bool {
return d_.RespondsToSelector(objc.Sel("center"))
}
// The x and y position to use as the center of the dot screen pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidotscreen/3228232-center?language=objc
func (d_ DotScreenObject) Center() coregraphics.Point {
rv := objc.Call[coregraphics.Point](d_, objc.Sel("center"))
return rv
}
func (d_ DotScreenObject) HasSetInputImage() bool {
return d_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidotscreen/3228233-inputimage?language=objc
func (d_ DotScreenObject) SetInputImage(value Image) {
objc.Call[objc.Void](d_, objc.Sel("setInputImage:"), value)
}
func (d_ DotScreenObject) HasInputImage() bool {
return d_.RespondsToSelector(objc.Sel("inputImage"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidotscreen/3228233-inputimage?language=objc
func (d_ DotScreenObject) InputImage() Image {
rv := objc.Call[Image](d_, objc.Sel("inputImage"))
return rv
}
func (d_ DotScreenObject) HasSetWidth() bool {
return d_.RespondsToSelector(objc.Sel("setWidth:"))
}
// The distance between dots in the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidotscreen/3228235-width?language=objc
func (d_ DotScreenObject) SetWidth(value float32) {
objc.Call[objc.Void](d_, objc.Sel("setWidth:"), value)
}
func (d_ DotScreenObject) HasWidth() bool {
return d_.RespondsToSelector(objc.Sel("width"))
}
// The distance between dots in the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidotscreen/3228235-width?language=objc
func (d_ DotScreenObject) Width() float32 {
rv := objc.Call[float32](d_, objc.Sel("width"))
return rv
}
func (d_ DotScreenObject) HasSetAngle() bool {
return d_.RespondsToSelector(objc.Sel("setAngle:"))
}
// The angle of the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidotscreen/3228231-angle?language=objc
func (d_ DotScreenObject) SetAngle(value float32) {
objc.Call[objc.Void](d_, objc.Sel("setAngle:"), value)
}
func (d_ DotScreenObject) HasAngle() bool {
return d_.RespondsToSelector(objc.Sel("angle"))
}
// The angle of the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidotscreen/3228231-angle?language=objc
func (d_ DotScreenObject) Angle() float32 {
rv := objc.Call[float32](d_, objc.Sel("angle"))
return rv
}
func (d_ DotScreenObject) HasSetSharpness() bool {
return d_.RespondsToSelector(objc.Sel("setSharpness:"))
}
// The sharpness of the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidotscreen/3228234-sharpness?language=objc
func (d_ DotScreenObject) SetSharpness(value float32) {
objc.Call[objc.Void](d_, objc.Sel("setSharpness:"), value)
}
func (d_ DotScreenObject) HasSharpness() bool {
return d_.RespondsToSelector(objc.Sel("sharpness"))
}
// The sharpness of the pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidotscreen/3228234-sharpness?language=objc
func (d_ DotScreenObject) Sharpness() float32 {
rv := objc.Call[float32](d_, objc.Sel("sharpness"))
return rv
}