forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfourfold_translated_tile.gen.go
173 lines (140 loc) · 5.35 KB
/
fourfold_translated_tile.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
// 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 fourfold translated tile filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cifourfoldtranslatedtile?language=objc
type PFourfoldTranslatedTile interface {
// optional
SetWidth(value float64)
HasSetWidth() bool
// optional
Width() float64
HasWidth() bool
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() IImage
HasInputImage() bool
// optional
SetAngle(value float64)
HasSetAngle() bool
// optional
Angle() float64
HasAngle() bool
// optional
SetAcuteAngle(value float64)
HasSetAcuteAngle() bool
// optional
AcuteAngle() float64
HasAcuteAngle() bool
// optional
SetCenter(value coregraphics.Point)
HasSetCenter() bool
// optional
Center() coregraphics.Point
HasCenter() bool
}
// A concrete type wrapper for the [PFourfoldTranslatedTile] protocol.
type FourfoldTranslatedTileWrapper struct {
objc.Object
}
func (f_ FourfoldTranslatedTileWrapper) HasSetWidth() bool {
return f_.RespondsToSelector(objc.Sel("setWidth:"))
}
// The width of a tile. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cifourfoldtranslatedtile/3228459-width?language=objc
func (f_ FourfoldTranslatedTileWrapper) SetWidth(value float64) {
objc.Call[objc.Void](f_, objc.Sel("setWidth:"), value)
}
func (f_ FourfoldTranslatedTileWrapper) HasWidth() bool {
return f_.RespondsToSelector(objc.Sel("width"))
}
// The width of a tile. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cifourfoldtranslatedtile/3228459-width?language=objc
func (f_ FourfoldTranslatedTileWrapper) Width() float64 {
rv := objc.Call[float64](f_, objc.Sel("width"))
return rv
}
func (f_ FourfoldTranslatedTileWrapper) HasSetInputImage() bool {
return f_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cifourfoldtranslatedtile/3228458-inputimage?language=objc
func (f_ FourfoldTranslatedTileWrapper) SetInputImage(value IImage) {
objc.Call[objc.Void](f_, objc.Sel("setInputImage:"), objc.Ptr(value))
}
func (f_ FourfoldTranslatedTileWrapper) HasInputImage() bool {
return f_.RespondsToSelector(objc.Sel("inputImage"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cifourfoldtranslatedtile/3228458-inputimage?language=objc
func (f_ FourfoldTranslatedTileWrapper) InputImage() Image {
rv := objc.Call[Image](f_, objc.Sel("inputImage"))
return rv
}
func (f_ FourfoldTranslatedTileWrapper) HasSetAngle() bool {
return f_.RespondsToSelector(objc.Sel("setAngle:"))
}
// The angle, in radians, of the tiled pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cifourfoldtranslatedtile/3228456-angle?language=objc
func (f_ FourfoldTranslatedTileWrapper) SetAngle(value float64) {
objc.Call[objc.Void](f_, objc.Sel("setAngle:"), value)
}
func (f_ FourfoldTranslatedTileWrapper) HasAngle() bool {
return f_.RespondsToSelector(objc.Sel("angle"))
}
// The angle, in radians, of the tiled pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cifourfoldtranslatedtile/3228456-angle?language=objc
func (f_ FourfoldTranslatedTileWrapper) Angle() float64 {
rv := objc.Call[float64](f_, objc.Sel("angle"))
return rv
}
func (f_ FourfoldTranslatedTileWrapper) HasSetAcuteAngle() bool {
return f_.RespondsToSelector(objc.Sel("setAcuteAngle:"))
}
// The primary angle for the repeating translated tile. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cifourfoldtranslatedtile/3228455-acuteangle?language=objc
func (f_ FourfoldTranslatedTileWrapper) SetAcuteAngle(value float64) {
objc.Call[objc.Void](f_, objc.Sel("setAcuteAngle:"), value)
}
func (f_ FourfoldTranslatedTileWrapper) HasAcuteAngle() bool {
return f_.RespondsToSelector(objc.Sel("acuteAngle"))
}
// The primary angle for the repeating translated tile. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cifourfoldtranslatedtile/3228455-acuteangle?language=objc
func (f_ FourfoldTranslatedTileWrapper) AcuteAngle() float64 {
rv := objc.Call[float64](f_, objc.Sel("acuteAngle"))
return rv
}
func (f_ FourfoldTranslatedTileWrapper) HasSetCenter() bool {
return f_.RespondsToSelector(objc.Sel("setCenter:"))
}
// The x and y position to use as the center of the effect. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cifourfoldtranslatedtile/3228457-center?language=objc
func (f_ FourfoldTranslatedTileWrapper) SetCenter(value coregraphics.Point) {
objc.Call[objc.Void](f_, objc.Sel("setCenter:"), value)
}
func (f_ FourfoldTranslatedTileWrapper) HasCenter() bool {
return f_.RespondsToSelector(objc.Sel("center"))
}
// The x and y position to use as the center of the effect. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cifourfoldtranslatedtile/3228457-center?language=objc
func (f_ FourfoldTranslatedTileWrapper) Center() coregraphics.Point {
rv := objc.Call[coregraphics.Point](f_, objc.Sel("center"))
return rv
}