forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdisplacement_distortion_protocol.gen.go
113 lines (91 loc) · 3.24 KB
/
displacement_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
// Code generated by DarwinKit. DO NOT EDIT.
package coreimage
import (
"github.com/progrium/darwinkit/objc"
)
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisplacementdistortion?language=objc
type PDisplacementDistortion interface {
// optional
SetScale(value float32)
HasSetScale() bool
// optional
Scale() float32
HasScale() bool
// optional
SetDisplacementImage(value Image)
HasSetDisplacementImage() bool
// optional
DisplacementImage() Image
HasDisplacementImage() bool
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() Image
HasInputImage() bool
}
// ensure impl type implements protocol interface
var _ PDisplacementDistortion = (*DisplacementDistortionObject)(nil)
// A concrete type for the [PDisplacementDistortion] protocol.
type DisplacementDistortionObject struct {
objc.Object
}
func (d_ DisplacementDistortionObject) HasSetScale() bool {
return d_.RespondsToSelector(objc.Sel("setScale:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisplacementdistortion/3600129-scale?language=objc
func (d_ DisplacementDistortionObject) SetScale(value float32) {
objc.Call[objc.Void](d_, objc.Sel("setScale:"), value)
}
func (d_ DisplacementDistortionObject) HasScale() bool {
return d_.RespondsToSelector(objc.Sel("scale"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisplacementdistortion/3600129-scale?language=objc
func (d_ DisplacementDistortionObject) Scale() float32 {
rv := objc.Call[float32](d_, objc.Sel("scale"))
return rv
}
func (d_ DisplacementDistortionObject) HasSetDisplacementImage() bool {
return d_.RespondsToSelector(objc.Sel("setDisplacementImage:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisplacementdistortion/3600127-displacementimage?language=objc
func (d_ DisplacementDistortionObject) SetDisplacementImage(value Image) {
objc.Call[objc.Void](d_, objc.Sel("setDisplacementImage:"), value)
}
func (d_ DisplacementDistortionObject) HasDisplacementImage() bool {
return d_.RespondsToSelector(objc.Sel("displacementImage"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisplacementdistortion/3600127-displacementimage?language=objc
func (d_ DisplacementDistortionObject) DisplacementImage() Image {
rv := objc.Call[Image](d_, objc.Sel("displacementImage"))
return rv
}
func (d_ DisplacementDistortionObject) HasSetInputImage() bool {
return d_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisplacementdistortion/3600128-inputimage?language=objc
func (d_ DisplacementDistortionObject) SetInputImage(value Image) {
objc.Call[objc.Void](d_, objc.Sel("setInputImage:"), value)
}
func (d_ DisplacementDistortionObject) HasInputImage() bool {
return d_.RespondsToSelector(objc.Sel("inputImage"))
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisplacementdistortion/3600128-inputimage?language=objc
func (d_ DisplacementDistortionObject) InputImage() Image {
rv := objc.Call[Image](d_, objc.Sel("inputImage"))
return rv
}