forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexposure_adjust.gen.go
79 lines (64 loc) · 2.22 KB
/
exposure_adjust.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
// AUTO-GENERATED CODE, DO NOT MODIFY
package coreimage
import (
"github.com/progrium/macdriver/objc"
)
// The properties you use to configure an exposure adjust filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciexposureadjust?language=objc
type PExposureAdjust interface {
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() IImage
HasInputImage() bool
// optional
SetEV(value float64)
HasSetEV() bool
// optional
EV() float64
HasEV() bool
}
// A concrete type wrapper for the [PExposureAdjust] protocol.
type ExposureAdjustWrapper struct {
objc.Object
}
func (e_ ExposureAdjustWrapper) 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/ciexposureadjust/3228254-inputimage?language=objc
func (e_ ExposureAdjustWrapper) SetInputImage(value IImage) {
objc.Call[objc.Void](e_, objc.Sel("setInputImage:"), objc.Ptr(value))
}
func (e_ ExposureAdjustWrapper) 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/ciexposureadjust/3228254-inputimage?language=objc
func (e_ ExposureAdjustWrapper) InputImage() Image {
rv := objc.Call[Image](e_, objc.Sel("inputImage"))
return rv
}
func (e_ ExposureAdjustWrapper) HasSetEV() bool {
return e_.RespondsToSelector(objc.Sel("setEV:"))
}
// The amount to adjust the exposure of the image by. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciexposureadjust/3228253-ev?language=objc
func (e_ ExposureAdjustWrapper) SetEV(value float64) {
objc.Call[objc.Void](e_, objc.Sel("setEV:"), value)
}
func (e_ ExposureAdjustWrapper) HasEV() bool {
return e_.RespondsToSelector(objc.Sel("EV"))
}
// The amount to adjust the exposure of the image by. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciexposureadjust/3228253-ev?language=objc
func (e_ ExposureAdjustWrapper) EV() float64 {
rv := objc.Call[float64](e_, objc.Sel("EV"))
return rv
}