forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedge_preserve_upsample_protocol.gen.go
144 lines (116 loc) · 4.72 KB
/
edge_preserve_upsample_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
// Code generated by DarwinKit. DO NOT EDIT.
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
SetSmallImage(value Image)
HasSetSmallImage() bool
// optional
SmallImage() Image
HasSmallImage() bool
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() Image
HasInputImage() bool
// optional
SetSpatialSigma(value float64)
HasSetSpatialSigma() bool
// optional
SpatialSigma() float64
HasSpatialSigma() bool
// optional
SetLumaSigma(value float64)
HasSetLumaSigma() bool
// optional
LumaSigma() float64
HasLumaSigma() bool
}
// ensure impl type implements protocol interface
var _ PEdgePreserveUpsample = (*EdgePreserveUpsampleObject)(nil)
// A concrete type for the [PEdgePreserveUpsample] protocol.
type EdgePreserveUpsampleObject struct {
objc.Object
}
func (e_ EdgePreserveUpsampleObject) 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_ EdgePreserveUpsampleObject) SetSmallImage(value Image) {
objc.Call[objc.Void](e_, objc.Sel("setSmallImage:"), objc.Ptr(value))
}
func (e_ EdgePreserveUpsampleObject) 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_ EdgePreserveUpsampleObject) SmallImage() Image {
rv := objc.Call[Image](e_, objc.Sel("smallImage"))
return rv
}
func (e_ EdgePreserveUpsampleObject) 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_ EdgePreserveUpsampleObject) SetInputImage(value Image) {
objc.Call[objc.Void](e_, objc.Sel("setInputImage:"), objc.Ptr(value))
}
func (e_ EdgePreserveUpsampleObject) 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_ EdgePreserveUpsampleObject) InputImage() Image {
rv := objc.Call[Image](e_, objc.Sel("inputImage"))
return rv
}
func (e_ EdgePreserveUpsampleObject) 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_ EdgePreserveUpsampleObject) SetSpatialSigma(value float64) {
objc.Call[objc.Void](e_, objc.Sel("setSpatialSigma:"), value)
}
func (e_ EdgePreserveUpsampleObject) 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_ EdgePreserveUpsampleObject) SpatialSigma() float64 {
rv := objc.Call[float64](e_, objc.Sel("spatialSigma"))
return rv
}
func (e_ EdgePreserveUpsampleObject) 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_ EdgePreserveUpsampleObject) SetLumaSigma(value float64) {
objc.Call[objc.Void](e_, objc.Sel("setLumaSigma:"), value)
}
func (e_ EdgePreserveUpsampleObject) 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_ EdgePreserveUpsampleObject) LumaSigma() float64 {
rv := objc.Call[float64](e_, objc.Sel("lumaSigma"))
return rv
}