forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbars_swipe_transition_protocol.gen.go
113 lines (91 loc) · 3.29 KB
/
bars_swipe_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
// Code generated by DarwinKit. DO NOT EDIT.
package coreimage
import (
"github.com/progrium/macdriver/objc"
)
// The properties you use to configure a bars swipe transition filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibarsswipetransition?language=objc
type PBarsSwipeTransition interface {
// optional
SetAngle(value float64)
HasSetAngle() bool
// optional
Angle() float64
HasAngle() bool
// optional
SetBarOffset(value float64)
HasSetBarOffset() bool
// optional
BarOffset() float64
HasBarOffset() bool
// optional
SetWidth(value float64)
HasSetWidth() bool
// optional
Width() float64
HasWidth() bool
}
// ensure impl type implements protocol interface
var _ PBarsSwipeTransition = (*BarsSwipeTransitionObject)(nil)
// A concrete type for the [PBarsSwipeTransition] protocol.
type BarsSwipeTransitionObject struct {
objc.Object
}
func (b_ BarsSwipeTransitionObject) HasSetAngle() bool {
return b_.RespondsToSelector(objc.Sel("setAngle:"))
}
// The angle, in radians, of the bars. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibarsswipetransition/3228070-angle?language=objc
func (b_ BarsSwipeTransitionObject) SetAngle(value float64) {
objc.Call[objc.Void](b_, objc.Sel("setAngle:"), value)
}
func (b_ BarsSwipeTransitionObject) HasAngle() bool {
return b_.RespondsToSelector(objc.Sel("angle"))
}
// The angle, in radians, of the bars. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibarsswipetransition/3228070-angle?language=objc
func (b_ BarsSwipeTransitionObject) Angle() float64 {
rv := objc.Call[float64](b_, objc.Sel("angle"))
return rv
}
func (b_ BarsSwipeTransitionObject) HasSetBarOffset() bool {
return b_.RespondsToSelector(objc.Sel("setBarOffset:"))
}
// The offset of one bar with respect to another. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibarsswipetransition/3228071-baroffset?language=objc
func (b_ BarsSwipeTransitionObject) SetBarOffset(value float64) {
objc.Call[objc.Void](b_, objc.Sel("setBarOffset:"), value)
}
func (b_ BarsSwipeTransitionObject) HasBarOffset() bool {
return b_.RespondsToSelector(objc.Sel("barOffset"))
}
// The offset of one bar with respect to another. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibarsswipetransition/3228071-baroffset?language=objc
func (b_ BarsSwipeTransitionObject) BarOffset() float64 {
rv := objc.Call[float64](b_, objc.Sel("barOffset"))
return rv
}
func (b_ BarsSwipeTransitionObject) HasSetWidth() bool {
return b_.RespondsToSelector(objc.Sel("setWidth:"))
}
// The width of each bar. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibarsswipetransition/3228072-width?language=objc
func (b_ BarsSwipeTransitionObject) SetWidth(value float64) {
objc.Call[objc.Void](b_, objc.Sel("setWidth:"), value)
}
func (b_ BarsSwipeTransitionObject) HasWidth() bool {
return b_.RespondsToSelector(objc.Sel("width"))
}
// The width of each bar. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibarsswipetransition/3228072-width?language=objc
func (b_ BarsSwipeTransitionObject) Width() float64 {
rv := objc.Call[float64](b_, objc.Sel("width"))
return rv
}