forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblend_with_mask_protocol.gen.go
113 lines (91 loc) · 3.34 KB
/
blend_with_mask_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"
)
// The properties you use to configure a blend with mask filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendwithmask?language=objc
type PBlendWithMask interface {
// optional
SetMaskImage(value Image)
HasSetMaskImage() bool
// optional
MaskImage() Image
HasMaskImage() bool
// optional
SetBackgroundImage(value Image)
HasSetBackgroundImage() bool
// optional
BackgroundImage() Image
HasBackgroundImage() bool
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() Image
HasInputImage() bool
}
// ensure impl type implements protocol interface
var _ PBlendWithMask = (*BlendWithMaskObject)(nil)
// A concrete type for the [PBlendWithMask] protocol.
type BlendWithMaskObject struct {
objc.Object
}
func (b_ BlendWithMaskObject) HasSetMaskImage() bool {
return b_.RespondsToSelector(objc.Sel("setMaskImage:"))
}
// A grayscale mask that defines the blend. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendwithmask/3228082-maskimage?language=objc
func (b_ BlendWithMaskObject) SetMaskImage(value Image) {
objc.Call[objc.Void](b_, objc.Sel("setMaskImage:"), value)
}
func (b_ BlendWithMaskObject) HasMaskImage() bool {
return b_.RespondsToSelector(objc.Sel("maskImage"))
}
// A grayscale mask that defines the blend. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendwithmask/3228082-maskimage?language=objc
func (b_ BlendWithMaskObject) MaskImage() Image {
rv := objc.Call[Image](b_, objc.Sel("maskImage"))
return rv
}
func (b_ BlendWithMaskObject) HasSetBackgroundImage() bool {
return b_.RespondsToSelector(objc.Sel("setBackgroundImage:"))
}
// The image to use as a background image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendwithmask/3228080-backgroundimage?language=objc
func (b_ BlendWithMaskObject) SetBackgroundImage(value Image) {
objc.Call[objc.Void](b_, objc.Sel("setBackgroundImage:"), value)
}
func (b_ BlendWithMaskObject) HasBackgroundImage() bool {
return b_.RespondsToSelector(objc.Sel("backgroundImage"))
}
// The image to use as a background image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendwithmask/3228080-backgroundimage?language=objc
func (b_ BlendWithMaskObject) BackgroundImage() Image {
rv := objc.Call[Image](b_, objc.Sel("backgroundImage"))
return rv
}
func (b_ BlendWithMaskObject) HasSetInputImage() bool {
return b_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// The image to use as a foreground image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendwithmask/3228081-inputimage?language=objc
func (b_ BlendWithMaskObject) SetInputImage(value Image) {
objc.Call[objc.Void](b_, objc.Sel("setInputImage:"), value)
}
func (b_ BlendWithMaskObject) HasInputImage() bool {
return b_.RespondsToSelector(objc.Sel("inputImage"))
}
// The image to use as a foreground image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendwithmask/3228081-inputimage?language=objc
func (b_ BlendWithMaskObject) InputImage() Image {
rv := objc.Call[Image](b_, objc.Sel("inputImage"))
return rv
}