forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcode128_barcode_generator.gen.go
110 lines (89 loc) · 3.54 KB
/
code128_barcode_generator.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 a Code 128 barcode generator filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicode128barcodegenerator?language=objc
type PCode128BarcodeGenerator interface {
// optional
SetQuietSpace(value float64)
HasSetQuietSpace() bool
// optional
QuietSpace() float64
HasQuietSpace() bool
// optional
SetBarcodeHeight(value float64)
HasSetBarcodeHeight() bool
// optional
BarcodeHeight() float64
HasBarcodeHeight() bool
// optional
SetMessage(value []byte)
HasSetMessage() bool
// optional
Message() []byte
HasMessage() bool
}
// A concrete type wrapper for the [PCode128BarcodeGenerator] protocol.
type Code128BarcodeGeneratorWrapper struct {
objc.Object
}
func (c_ Code128BarcodeGeneratorWrapper) HasSetQuietSpace() bool {
return c_.RespondsToSelector(objc.Sel("setQuietSpace:"))
}
// The number of empty white pixels that should surround the barcode. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicode128barcodegenerator/3228118-quietspace?language=objc
func (c_ Code128BarcodeGeneratorWrapper) SetQuietSpace(value float64) {
objc.Call[objc.Void](c_, objc.Sel("setQuietSpace:"), value)
}
func (c_ Code128BarcodeGeneratorWrapper) HasQuietSpace() bool {
return c_.RespondsToSelector(objc.Sel("quietSpace"))
}
// The number of empty white pixels that should surround the barcode. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicode128barcodegenerator/3228118-quietspace?language=objc
func (c_ Code128BarcodeGeneratorWrapper) QuietSpace() float64 {
rv := objc.Call[float64](c_, objc.Sel("quietSpace"))
return rv
}
func (c_ Code128BarcodeGeneratorWrapper) HasSetBarcodeHeight() bool {
return c_.RespondsToSelector(objc.Sel("setBarcodeHeight:"))
}
// The height, in pixels, of the generated barcode. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicode128barcodegenerator/3228116-barcodeheight?language=objc
func (c_ Code128BarcodeGeneratorWrapper) SetBarcodeHeight(value float64) {
objc.Call[objc.Void](c_, objc.Sel("setBarcodeHeight:"), value)
}
func (c_ Code128BarcodeGeneratorWrapper) HasBarcodeHeight() bool {
return c_.RespondsToSelector(objc.Sel("barcodeHeight"))
}
// The height, in pixels, of the generated barcode. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicode128barcodegenerator/3228116-barcodeheight?language=objc
func (c_ Code128BarcodeGeneratorWrapper) BarcodeHeight() float64 {
rv := objc.Call[float64](c_, objc.Sel("barcodeHeight"))
return rv
}
func (c_ Code128BarcodeGeneratorWrapper) HasSetMessage() bool {
return c_.RespondsToSelector(objc.Sel("setMessage:"))
}
// The message to encode in the Code 128 barcode. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicode128barcodegenerator/3228117-message?language=objc
func (c_ Code128BarcodeGeneratorWrapper) SetMessage(value []byte) {
objc.Call[objc.Void](c_, objc.Sel("setMessage:"), value)
}
func (c_ Code128BarcodeGeneratorWrapper) HasMessage() bool {
return c_.RespondsToSelector(objc.Sel("message"))
}
// The message to encode in the Code 128 barcode. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cicode128barcodegenerator/3228117-message?language=objc
func (c_ Code128BarcodeGeneratorWrapper) Message() []byte {
rv := objc.Call[[]byte](c_, objc.Sel("message"))
return rv
}