forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglass_distortion_protocol.gen.go
145 lines (117 loc) · 3.92 KB
/
glass_distortion_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"
)
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglassdistortion?language=objc
type PGlassDistortion interface {
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() Image
HasInputImage() bool
// optional
SetScale(value float32)
HasSetScale() bool
// optional
Scale() float32
HasScale() bool
// optional
SetCenter(value coregraphics.Point)
HasSetCenter() bool
// optional
Center() coregraphics.Point
HasCenter() bool
// optional
SetTextureImage(value Image)
HasSetTextureImage() bool
// optional
TextureImage() Image
HasTextureImage() bool
}
// ensure impl type implements protocol interface
var _ PGlassDistortion = (*GlassDistortionObject)(nil)
// A concrete type for the [PGlassDistortion] protocol.
type GlassDistortionObject struct {
objc.Object
}
func (g_ GlassDistortionObject) HasSetInputImage() bool {
return g_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglassdistortion/3600157-inputimage?language=objc
func (g_ GlassDistortionObject) SetInputImage(value Image) {
objc.Call[objc.Void](g_, objc.Sel("setInputImage:"), value)
}
func (g_ GlassDistortionObject) HasInputImage() bool {
return g_.RespondsToSelector(objc.Sel("inputImage"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglassdistortion/3600157-inputimage?language=objc
func (g_ GlassDistortionObject) InputImage() Image {
rv := objc.Call[Image](g_, objc.Sel("inputImage"))
return rv
}
func (g_ GlassDistortionObject) HasSetScale() bool {
return g_.RespondsToSelector(objc.Sel("setScale:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglassdistortion/3600158-scale?language=objc
func (g_ GlassDistortionObject) SetScale(value float32) {
objc.Call[objc.Void](g_, objc.Sel("setScale:"), value)
}
func (g_ GlassDistortionObject) HasScale() bool {
return g_.RespondsToSelector(objc.Sel("scale"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglassdistortion/3600158-scale?language=objc
func (g_ GlassDistortionObject) Scale() float32 {
rv := objc.Call[float32](g_, objc.Sel("scale"))
return rv
}
func (g_ GlassDistortionObject) HasSetCenter() bool {
return g_.RespondsToSelector(objc.Sel("setCenter:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglassdistortion/3600156-center?language=objc
func (g_ GlassDistortionObject) SetCenter(value coregraphics.Point) {
objc.Call[objc.Void](g_, objc.Sel("setCenter:"), value)
}
func (g_ GlassDistortionObject) HasCenter() bool {
return g_.RespondsToSelector(objc.Sel("center"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglassdistortion/3600156-center?language=objc
func (g_ GlassDistortionObject) Center() coregraphics.Point {
rv := objc.Call[coregraphics.Point](g_, objc.Sel("center"))
return rv
}
func (g_ GlassDistortionObject) HasSetTextureImage() bool {
return g_.RespondsToSelector(objc.Sel("setTextureImage:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglassdistortion/3600159-textureimage?language=objc
func (g_ GlassDistortionObject) SetTextureImage(value Image) {
objc.Call[objc.Void](g_, objc.Sel("setTextureImage:"), value)
}
func (g_ GlassDistortionObject) HasTextureImage() bool {
return g_.RespondsToSelector(objc.Sel("textureImage"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciglassdistortion/3600159-textureimage?language=objc
func (g_ GlassDistortionObject) TextureImage() Image {
rv := objc.Call[Image](g_, objc.Sel("textureImage"))
return rv
}