forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaffine_tile_protocol.gen.go
83 lines (67 loc) · 2.45 KB
/
affine_tile_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
// Code generated by DarwinKit. DO NOT EDIT.
package coreimage
import (
"github.com/progrium/darwinkit/macos/coregraphics"
"github.com/progrium/darwinkit/objc"
)
// The properties you use to configure an affine tile filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciaffinetile?language=objc
type PAffineTile interface {
// optional
SetTransform(value coregraphics.AffineTransform)
HasSetTransform() bool
// optional
Transform() coregraphics.AffineTransform
HasTransform() bool
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() Image
HasInputImage() bool
}
// ensure impl type implements protocol interface
var _ PAffineTile = (*AffineTileObject)(nil)
// A concrete type for the [PAffineTile] protocol.
type AffineTileObject struct {
objc.Object
}
func (a_ AffineTileObject) HasSetTransform() bool {
return a_.RespondsToSelector(objc.Sel("setTransform:"))
}
// The transform to apply to the image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciaffinetile/3228058-transform?language=objc
func (a_ AffineTileObject) SetTransform(value coregraphics.AffineTransform) {
objc.Call[objc.Void](a_, objc.Sel("setTransform:"), value)
}
func (a_ AffineTileObject) HasTransform() bool {
return a_.RespondsToSelector(objc.Sel("transform"))
}
// The transform to apply to the image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciaffinetile/3228058-transform?language=objc
func (a_ AffineTileObject) Transform() coregraphics.AffineTransform {
rv := objc.Call[coregraphics.AffineTransform](a_, objc.Sel("transform"))
return rv
}
func (a_ AffineTileObject) HasSetInputImage() bool {
return a_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciaffinetile/3228057-inputimage?language=objc
func (a_ AffineTileObject) SetInputImage(value Image) {
objc.Call[objc.Void](a_, objc.Sel("setInputImage:"), value)
}
func (a_ AffineTileObject) HasInputImage() bool {
return a_.RespondsToSelector(objc.Sel("inputImage"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciaffinetile/3228057-inputimage?language=objc
func (a_ AffineTileObject) InputImage() Image {
rv := objc.Call[Image](a_, objc.Sel("inputImage"))
return rv
}