forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdisintegrate_with_mask_transition_protocol.gen.go
145 lines (117 loc) · 5.08 KB
/
disintegrate_with_mask_transition_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
145
// Code generated by DarwinKit. DO NOT EDIT.
package coreimage
import (
"github.com/progrium/macdriver/macos/coregraphics"
"github.com/progrium/macdriver/objc"
)
// The properties you use to configure a disintegrate-with-mask transition filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisintegratewithmasktransition?language=objc
type PDisintegrateWithMaskTransition interface {
// optional
SetShadowRadius(value float64)
HasSetShadowRadius() bool
// optional
ShadowRadius() float64
HasShadowRadius() bool
// optional
SetShadowDensity(value float64)
HasSetShadowDensity() bool
// optional
ShadowDensity() float64
HasShadowDensity() bool
// optional
SetMaskImage(value Image)
HasSetMaskImage() bool
// optional
MaskImage() Image
HasMaskImage() bool
// optional
SetShadowOffset(value coregraphics.Point)
HasSetShadowOffset() bool
// optional
ShadowOffset() coregraphics.Point
HasShadowOffset() bool
}
// ensure impl type implements protocol interface
var _ PDisintegrateWithMaskTransition = (*DisintegrateWithMaskTransitionObject)(nil)
// A concrete type for the [PDisintegrateWithMaskTransition] protocol.
type DisintegrateWithMaskTransitionObject struct {
objc.Object
}
func (d_ DisintegrateWithMaskTransitionObject) HasSetShadowRadius() bool {
return d_.RespondsToSelector(objc.Sel("setShadowRadius:"))
}
// The radius of the shadow the mask creates. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisintegratewithmasktransition/3228220-shadowradius?language=objc
func (d_ DisintegrateWithMaskTransitionObject) SetShadowRadius(value float64) {
objc.Call[objc.Void](d_, objc.Sel("setShadowRadius:"), value)
}
func (d_ DisintegrateWithMaskTransitionObject) HasShadowRadius() bool {
return d_.RespondsToSelector(objc.Sel("shadowRadius"))
}
// The radius of the shadow the mask creates. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisintegratewithmasktransition/3228220-shadowradius?language=objc
func (d_ DisintegrateWithMaskTransitionObject) ShadowRadius() float64 {
rv := objc.Call[float64](d_, objc.Sel("shadowRadius"))
return rv
}
func (d_ DisintegrateWithMaskTransitionObject) HasSetShadowDensity() bool {
return d_.RespondsToSelector(objc.Sel("setShadowDensity:"))
}
// The density of the shadow the mask creates. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisintegratewithmasktransition/3228218-shadowdensity?language=objc
func (d_ DisintegrateWithMaskTransitionObject) SetShadowDensity(value float64) {
objc.Call[objc.Void](d_, objc.Sel("setShadowDensity:"), value)
}
func (d_ DisintegrateWithMaskTransitionObject) HasShadowDensity() bool {
return d_.RespondsToSelector(objc.Sel("shadowDensity"))
}
// The density of the shadow the mask creates. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisintegratewithmasktransition/3228218-shadowdensity?language=objc
func (d_ DisintegrateWithMaskTransitionObject) ShadowDensity() float64 {
rv := objc.Call[float64](d_, objc.Sel("shadowDensity"))
return rv
}
func (d_ DisintegrateWithMaskTransitionObject) HasSetMaskImage() bool {
return d_.RespondsToSelector(objc.Sel("setMaskImage:"))
}
// An image that defines the shape to use when disintegrating from the source to the target image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisintegratewithmasktransition/3228217-maskimage?language=objc
func (d_ DisintegrateWithMaskTransitionObject) SetMaskImage(value Image) {
objc.Call[objc.Void](d_, objc.Sel("setMaskImage:"), objc.Ptr(value))
}
func (d_ DisintegrateWithMaskTransitionObject) HasMaskImage() bool {
return d_.RespondsToSelector(objc.Sel("maskImage"))
}
// An image that defines the shape to use when disintegrating from the source to the target image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisintegratewithmasktransition/3228217-maskimage?language=objc
func (d_ DisintegrateWithMaskTransitionObject) MaskImage() Image {
rv := objc.Call[Image](d_, objc.Sel("maskImage"))
return rv
}
func (d_ DisintegrateWithMaskTransitionObject) HasSetShadowOffset() bool {
return d_.RespondsToSelector(objc.Sel("setShadowOffset:"))
}
// The offset of the shadow the mask creates. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisintegratewithmasktransition/3228219-shadowoffset?language=objc
func (d_ DisintegrateWithMaskTransitionObject) SetShadowOffset(value coregraphics.Point) {
objc.Call[objc.Void](d_, objc.Sel("setShadowOffset:"), value)
}
func (d_ DisintegrateWithMaskTransitionObject) HasShadowOffset() bool {
return d_.RespondsToSelector(objc.Sel("shadowOffset"))
}
// The offset of the shadow the mask creates. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidisintegratewithmasktransition/3228219-shadowoffset?language=objc
func (d_ DisintegrateWithMaskTransitionObject) ShadowOffset() coregraphics.Point {
rv := objc.Call[coregraphics.Point](d_, objc.Sel("shadowOffset"))
return rv
}