forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedge_preserve_upsample.gen.go
141 lines (114 loc) · 4.63 KB
/
edge_preserve_upsample.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
// AUTO-GENERATED CODE, DO NOT MODIFY
package coreimage
import (
"github.com/progrium/macdriver/objc"
)
// The properties you use to configure an edge preserve upsample filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciedgepreserveupsample?language=objc
type PEdgePreserveUpsample interface {
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() IImage
HasInputImage() bool
// optional
SetSpatialSigma(value float64)
HasSetSpatialSigma() bool
// optional
SpatialSigma() float64
HasSpatialSigma() bool
// optional
SetSmallImage(value Image)
HasSetSmallImage() bool
// optional
SmallImage() IImage
HasSmallImage() bool
// optional
SetLumaSigma(value float64)
HasSetLumaSigma() bool
// optional
LumaSigma() float64
HasLumaSigma() bool
}
// A concrete type wrapper for the [PEdgePreserveUpsample] protocol.
type EdgePreserveUpsampleWrapper struct {
objc.Object
}
func (e_ EdgePreserveUpsampleWrapper) 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/ciedgepreserveupsample/3228237-inputimage?language=objc
func (e_ EdgePreserveUpsampleWrapper) SetInputImage(value IImage) {
objc.Call[objc.Void](e_, objc.Sel("setInputImage:"), objc.Ptr(value))
}
func (e_ EdgePreserveUpsampleWrapper) 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/ciedgepreserveupsample/3228237-inputimage?language=objc
func (e_ EdgePreserveUpsampleWrapper) InputImage() Image {
rv := objc.Call[Image](e_, objc.Sel("inputImage"))
return rv
}
func (e_ EdgePreserveUpsampleWrapper) HasSetSpatialSigma() bool {
return e_.RespondsToSelector(objc.Sel("setSpatialSigma:"))
}
// A value that specifies the influence of the input image’s spatial information on the upsampling operation. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciedgepreserveupsample/3228240-spatialsigma?language=objc
func (e_ EdgePreserveUpsampleWrapper) SetSpatialSigma(value float64) {
objc.Call[objc.Void](e_, objc.Sel("setSpatialSigma:"), value)
}
func (e_ EdgePreserveUpsampleWrapper) HasSpatialSigma() bool {
return e_.RespondsToSelector(objc.Sel("spatialSigma"))
}
// A value that specifies the influence of the input image’s spatial information on the upsampling operation. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciedgepreserveupsample/3228240-spatialsigma?language=objc
func (e_ EdgePreserveUpsampleWrapper) SpatialSigma() float64 {
rv := objc.Call[float64](e_, objc.Sel("spatialSigma"))
return rv
}
func (e_ EdgePreserveUpsampleWrapper) HasSetSmallImage() bool {
return e_.RespondsToSelector(objc.Sel("setSmallImage:"))
}
// The image that the filter upsamples. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciedgepreserveupsample/3228239-smallimage?language=objc
func (e_ EdgePreserveUpsampleWrapper) SetSmallImage(value IImage) {
objc.Call[objc.Void](e_, objc.Sel("setSmallImage:"), objc.Ptr(value))
}
func (e_ EdgePreserveUpsampleWrapper) HasSmallImage() bool {
return e_.RespondsToSelector(objc.Sel("smallImage"))
}
// The image that the filter upsamples. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciedgepreserveupsample/3228239-smallimage?language=objc
func (e_ EdgePreserveUpsampleWrapper) SmallImage() Image {
rv := objc.Call[Image](e_, objc.Sel("smallImage"))
return rv
}
func (e_ EdgePreserveUpsampleWrapper) HasSetLumaSigma() bool {
return e_.RespondsToSelector(objc.Sel("setLumaSigma:"))
}
// A value that specifies the influence of the input image’s luma information on the upsampling operation. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciedgepreserveupsample/3228238-lumasigma?language=objc
func (e_ EdgePreserveUpsampleWrapper) SetLumaSigma(value float64) {
objc.Call[objc.Void](e_, objc.Sel("setLumaSigma:"), value)
}
func (e_ EdgePreserveUpsampleWrapper) HasLumaSigma() bool {
return e_.RespondsToSelector(objc.Sel("lumaSigma"))
}
// A value that specifies the influence of the input image’s luma information on the upsampling operation. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciedgepreserveupsample/3228238-lumasigma?language=objc
func (e_ EdgePreserveUpsampleWrapper) LumaSigma() float64 {
rv := objc.Call[float64](e_, objc.Sel("lumaSigma"))
return rv
}