forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheightfold_reflected_tile_protocol.gen.go
145 lines (117 loc) · 4.42 KB
/
eightfold_reflected_tile_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
// 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 an eightfold reflected tile filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cieightfoldreflectedtile?language=objc
type PEightfoldReflectedTile interface {
// optional
SetWidth(value float32)
HasSetWidth() bool
// optional
Width() float32
HasWidth() bool
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() Image
HasInputImage() bool
// optional
SetAngle(value float32)
HasSetAngle() bool
// optional
Angle() float32
HasAngle() bool
// optional
SetCenter(value coregraphics.Point)
HasSetCenter() bool
// optional
Center() coregraphics.Point
HasCenter() bool
}
// ensure impl type implements protocol interface
var _ PEightfoldReflectedTile = (*EightfoldReflectedTileObject)(nil)
// A concrete type for the [PEightfoldReflectedTile] protocol.
type EightfoldReflectedTileObject struct {
objc.Object
}
func (e_ EightfoldReflectedTileObject) HasSetWidth() bool {
return e_.RespondsToSelector(objc.Sel("setWidth:"))
}
// The width of a tile. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cieightfoldreflectedtile/3228251-width?language=objc
func (e_ EightfoldReflectedTileObject) SetWidth(value float32) {
objc.Call[objc.Void](e_, objc.Sel("setWidth:"), value)
}
func (e_ EightfoldReflectedTileObject) HasWidth() bool {
return e_.RespondsToSelector(objc.Sel("width"))
}
// The width of a tile. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cieightfoldreflectedtile/3228251-width?language=objc
func (e_ EightfoldReflectedTileObject) Width() float32 {
rv := objc.Call[float32](e_, objc.Sel("width"))
return rv
}
func (e_ EightfoldReflectedTileObject) HasSetInputImage() bool {
return e_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cieightfoldreflectedtile/3228250-inputimage?language=objc
func (e_ EightfoldReflectedTileObject) SetInputImage(value Image) {
objc.Call[objc.Void](e_, objc.Sel("setInputImage:"), value)
}
func (e_ EightfoldReflectedTileObject) HasInputImage() bool {
return e_.RespondsToSelector(objc.Sel("inputImage"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cieightfoldreflectedtile/3228250-inputimage?language=objc
func (e_ EightfoldReflectedTileObject) InputImage() Image {
rv := objc.Call[Image](e_, objc.Sel("inputImage"))
return rv
}
func (e_ EightfoldReflectedTileObject) HasSetAngle() bool {
return e_.RespondsToSelector(objc.Sel("setAngle:"))
}
// The angle, in radians, of the tiled pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cieightfoldreflectedtile/3228248-angle?language=objc
func (e_ EightfoldReflectedTileObject) SetAngle(value float32) {
objc.Call[objc.Void](e_, objc.Sel("setAngle:"), value)
}
func (e_ EightfoldReflectedTileObject) HasAngle() bool {
return e_.RespondsToSelector(objc.Sel("angle"))
}
// The angle, in radians, of the tiled pattern. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cieightfoldreflectedtile/3228248-angle?language=objc
func (e_ EightfoldReflectedTileObject) Angle() float32 {
rv := objc.Call[float32](e_, objc.Sel("angle"))
return rv
}
func (e_ EightfoldReflectedTileObject) HasSetCenter() bool {
return e_.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/cieightfoldreflectedtile/3228249-center?language=objc
func (e_ EightfoldReflectedTileObject) SetCenter(value coregraphics.Point) {
objc.Call[objc.Void](e_, objc.Sel("setCenter:"), value)
}
func (e_ EightfoldReflectedTileObject) HasCenter() bool {
return e_.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/cieightfoldreflectedtile/3228249-center?language=objc
func (e_ EightfoldReflectedTileObject) Center() coregraphics.Point {
rv := objc.Call[coregraphics.Point](e_, objc.Sel("center"))
return rv
}