forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccordion_fold_transition_protocol.gen.go
113 lines (91 loc) · 3.81 KB
/
accordion_fold_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/darwinkit/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
SetNumberOfFolds(value float32)
HasSetNumberOfFolds() bool
// optional
NumberOfFolds() float32
HasNumberOfFolds() bool
// optional
SetFoldShadowAmount(value float32)
HasSetFoldShadowAmount() bool
// optional
FoldShadowAmount() float32
HasFoldShadowAmount() bool
// optional
SetBottomHeight(value float32)
HasSetBottomHeight() bool
// optional
BottomHeight() float32
HasBottomHeight() bool
}
// ensure impl type implements protocol interface
var _ PAccordionFoldTransition = (*AccordionFoldTransitionObject)(nil)
// A concrete type for the [PAccordionFoldTransition] protocol.
type AccordionFoldTransitionObject struct {
objc.Object
}
func (a_ AccordionFoldTransitionObject) 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_ AccordionFoldTransitionObject) SetNumberOfFolds(value float32) {
objc.Call[objc.Void](a_, objc.Sel("setNumberOfFolds:"), value)
}
func (a_ AccordionFoldTransitionObject) 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_ AccordionFoldTransitionObject) NumberOfFolds() float32 {
rv := objc.Call[float32](a_, objc.Sel("numberOfFolds"))
return rv
}
func (a_ AccordionFoldTransitionObject) 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_ AccordionFoldTransitionObject) SetFoldShadowAmount(value float32) {
objc.Call[objc.Void](a_, objc.Sel("setFoldShadowAmount:"), value)
}
func (a_ AccordionFoldTransitionObject) 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_ AccordionFoldTransitionObject) FoldShadowAmount() float32 {
rv := objc.Call[float32](a_, objc.Sel("foldShadowAmount"))
return rv
}
func (a_ AccordionFoldTransitionObject) 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_ AccordionFoldTransitionObject) SetBottomHeight(value float32) {
objc.Call[objc.Void](a_, objc.Sel("setBottomHeight:"), value)
}
func (a_ AccordionFoldTransitionObject) 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_ AccordionFoldTransitionObject) BottomHeight() float32 {
rv := objc.Call[float32](a_, objc.Sel("bottomHeight"))
return rv
}