forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccordion_fold_transition.gen.go
110 lines (89 loc) · 3.7 KB
/
accordion_fold_transition.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
// AUTO-GENERATED CODE, DO NOT MODIFY
package coreimage
import (
"github.com/progrium/macdriver/objc"
)
// The properties you use to configure an accordion fold transition filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciaccordionfoldtransition?language=objc
type PAccordionFoldTransition interface {
// optional
SetBottomHeight(value float64)
HasSetBottomHeight() bool
// optional
BottomHeight() float64
HasBottomHeight() bool
// optional
SetFoldShadowAmount(value float64)
HasSetFoldShadowAmount() bool
// optional
FoldShadowAmount() float64
HasFoldShadowAmount() bool
// optional
SetNumberOfFolds(value float64)
HasSetNumberOfFolds() bool
// optional
NumberOfFolds() float64
HasNumberOfFolds() bool
}
// A concrete type wrapper for the [PAccordionFoldTransition] protocol.
type AccordionFoldTransitionWrapper struct {
objc.Object
}
func (a_ AccordionFoldTransitionWrapper) HasSetBottomHeight() bool {
return a_.RespondsToSelector(objc.Sel("setBottomHeight:"))
}
// The height of the accordion-fold part of the transition. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciaccordionfoldtransition/3228050-bottomheight?language=objc
func (a_ AccordionFoldTransitionWrapper) SetBottomHeight(value float64) {
objc.Call[objc.Void](a_, objc.Sel("setBottomHeight:"), value)
}
func (a_ AccordionFoldTransitionWrapper) HasBottomHeight() bool {
return a_.RespondsToSelector(objc.Sel("bottomHeight"))
}
// The height of the accordion-fold part of the transition. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciaccordionfoldtransition/3228050-bottomheight?language=objc
func (a_ AccordionFoldTransitionWrapper) BottomHeight() float64 {
rv := objc.Call[float64](a_, objc.Sel("bottomHeight"))
return rv
}
func (a_ AccordionFoldTransitionWrapper) HasSetFoldShadowAmount() bool {
return a_.RespondsToSelector(objc.Sel("setFoldShadowAmount:"))
}
// A value that specifies the intensity of the shadow in the transtion. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciaccordionfoldtransition/3228051-foldshadowamount?language=objc
func (a_ AccordionFoldTransitionWrapper) SetFoldShadowAmount(value float64) {
objc.Call[objc.Void](a_, objc.Sel("setFoldShadowAmount:"), value)
}
func (a_ AccordionFoldTransitionWrapper) HasFoldShadowAmount() bool {
return a_.RespondsToSelector(objc.Sel("foldShadowAmount"))
}
// A value that specifies the intensity of the shadow in the transtion. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciaccordionfoldtransition/3228051-foldshadowamount?language=objc
func (a_ AccordionFoldTransitionWrapper) FoldShadowAmount() float64 {
rv := objc.Call[float64](a_, objc.Sel("foldShadowAmount"))
return rv
}
func (a_ AccordionFoldTransitionWrapper) HasSetNumberOfFolds() bool {
return a_.RespondsToSelector(objc.Sel("setNumberOfFolds:"))
}
// The number of folds used in the transition. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciaccordionfoldtransition/3228052-numberoffolds?language=objc
func (a_ AccordionFoldTransitionWrapper) SetNumberOfFolds(value float64) {
objc.Call[objc.Void](a_, objc.Sel("setNumberOfFolds:"), value)
}
func (a_ AccordionFoldTransitionWrapper) HasNumberOfFolds() bool {
return a_.RespondsToSelector(objc.Sel("numberOfFolds"))
}
// The number of folds used in the transition. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciaccordionfoldtransition/3228052-numberoffolds?language=objc
func (a_ AccordionFoldTransitionWrapper) NumberOfFolds() float64 {
rv := objc.Call[float64](a_, objc.Sel("numberOfFolds"))
return rv
}