@nativescript/canvas 1.0.0-debug.0 → 1.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Canvas/common.d.ts +35 -13
- package/Canvas/common.js +458 -204
- package/Canvas/common.js.map +1 -1
- package/Canvas/index.android.d.ts +2 -0
- package/Canvas/index.android.js +17 -7
- package/Canvas/index.android.js.map +1 -1
- package/Canvas/index.d.ts +14 -0
- package/Canvas/index.ios.d.ts +1 -0
- package/Canvas/index.ios.js +10 -2
- package/Canvas/index.ios.js.map +1 -1
- package/Canvas2D/CanvasGradient/CanvasGradient.android.js.map +1 -1
- package/Canvas2D/CanvasRenderingContext2D/index.android.d.ts +3 -0
- package/Canvas2D/CanvasRenderingContext2D/index.android.js +53 -35
- package/Canvas2D/CanvasRenderingContext2D/index.android.js.map +1 -1
- package/Canvas2D/CanvasRenderingContext2D/index.d.ts +6 -0
- package/Canvas2D/CanvasRenderingContext2D/index.ios.d.ts +4 -1
- package/Canvas2D/CanvasRenderingContext2D/index.ios.js +126 -113
- package/Canvas2D/CanvasRenderingContext2D/index.ios.js.map +1 -1
- package/Canvas2D/DOMMatrix/DOMMatrix.android.js +3 -0
- package/Canvas2D/DOMMatrix/DOMMatrix.android.js.map +1 -1
- package/Canvas2D/DOMMatrix/DOMMatrix.ios.js +3 -0
- package/Canvas2D/DOMMatrix/DOMMatrix.ios.js.map +1 -1
- package/Canvas2D/DOMMatrix/common.d.ts +1 -0
- package/Canvas2D/DOMMatrix/common.js +4 -0
- package/Canvas2D/DOMMatrix/common.js.map +1 -1
- package/Canvas2D/ImageData/ImageData.android.js +11 -0
- package/Canvas2D/ImageData/ImageData.android.js.map +1 -1
- package/Canvas2D/ImageData/ImageData.ios.js +11 -0
- package/Canvas2D/ImageData/ImageData.ios.js.map +1 -1
- package/Canvas2D/ImageData/common.d.ts +1 -0
- package/Canvas2D/ImageData/common.js +4 -0
- package/Canvas2D/ImageData/common.js.map +1 -1
- package/Canvas2D/Path2D/common.d.ts +1 -0
- package/Canvas2D/Path2D/common.js +4 -0
- package/Canvas2D/Path2D/common.js.map +1 -1
- package/Canvas2D/TextMetrics/common.d.ts +1 -0
- package/Canvas2D/TextMetrics/common.js +4 -0
- package/Canvas2D/TextMetrics/common.js.map +1 -1
- package/ImageAsset/common.d.ts +1 -0
- package/ImageAsset/common.js +4 -0
- package/ImageAsset/common.js.map +1 -1
- package/ImageBitmap/common.d.ts +1 -0
- package/ImageBitmap/common.js +4 -0
- package/ImageBitmap/common.js.map +1 -1
- package/ImageBitmap/index.android.js +32 -0
- package/ImageBitmap/index.android.js.map +1 -1
- package/ImageBitmap/index.ios.js +41 -9
- package/ImageBitmap/index.ios.js.map +1 -1
- package/SVG/Image.js +2 -0
- package/SVG/Image.js.map +1 -1
- package/SVG/SVG.js +9 -0
- package/SVG/SVG.js.map +1 -1
- package/TextDecoder/TextDecoder.android.d.ts +1 -0
- package/TextDecoder/TextDecoder.android.js +29 -20
- package/TextDecoder/TextDecoder.android.js.map +1 -1
- package/TextDecoder/TextDecoder.ios.js +12 -16
- package/TextDecoder/TextDecoder.ios.js.map +1 -1
- package/TextDecoder/common.d.ts +1 -0
- package/TextDecoder/common.js +4 -0
- package/TextDecoder/common.js.map +1 -1
- package/TextEncoder/common.d.ts +1 -0
- package/TextEncoder/common.js +4 -0
- package/TextEncoder/common.js.map +1 -1
- package/WebGL/WebGLExtensions/index.android.js +1 -0
- package/WebGL/WebGLExtensions/index.android.js.map +1 -1
- package/WebGL/WebGLExtensions/index.ios.js +1 -0
- package/WebGL/WebGLExtensions/index.ios.js.map +1 -1
- package/WebGL/WebGLRenderingContext/index.android.d.ts +1 -0
- package/WebGL/WebGLRenderingContext/index.android.js +394 -111
- package/WebGL/WebGLRenderingContext/index.android.js.map +1 -1
- package/WebGL/WebGLRenderingContext/index.ios.js +35 -24
- package/WebGL/WebGLRenderingContext/index.ios.js.map +1 -1
- package/WebGL2/WebGL2RenderingContext/index.android.js +2 -2
- package/WebGL2/WebGL2RenderingContext/index.android.js.map +1 -1
- package/WebGL2/WebGL2RenderingContext/index.ios.js +39 -29
- package/WebGL2/WebGL2RenderingContext/index.ios.js.map +1 -1
- package/angular/esm2020/index.mjs +17 -0
- package/angular/esm2020/nativescript-canvas-angular.mjs +5 -0
- package/angular/fesm2015/nativescript-canvas-angular.mjs +24 -0
- package/angular/fesm2015/nativescript-canvas-angular.mjs.map +1 -0
- package/angular/fesm2020/nativescript-canvas-angular.mjs +24 -0
- package/angular/fesm2020/nativescript-canvas-angular.mjs.map +1 -0
- package/angular/index.d.ts +4 -0
- package/angular/package.json +20 -8
- package/index.d.ts +3 -4
- package/index.js +54 -8
- package/index.js.map +1 -1
- package/package.json +2 -3
- package/platforms/android/include.gradle +21 -1
- package/platforms/ios/CanvasNative.xcframework/Info.plist +10 -5
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +120 -3
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +1122 -471
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Info.plist +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +74840 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/{arm64.swiftinterface → arm64-apple-ios.private.swiftinterface} +203 -121
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +203 -121
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/module.modulemap +2 -2
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/TNSCanvas.nib +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +4116 -0
- package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/Headers/CanvasNative.h +0 -0
- package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/Headers/Utils.h +0 -0
- package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/Headers/canvas_native.h +1122 -471
- package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/Info.plist +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +74840 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +3270 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3270 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +74840 -0
- package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64.swiftinterface → ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface} +203 -121
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +203 -121
- package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/Modules/module.modulemap +2 -2
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/TNSCanvas.nib +0 -0
- package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/_CodeSignature/CodeResources +87 -69
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/Podfile +1 -1
- package/typings/objc!CanvasNative.d.ts +2018 -0
- package/typings/objc!CanvasNative.js +1 -0
- package/typings/objc!CanvasNative.js.map +1 -0
- package/utils.d.ts +3 -0
- package/utils.js +27 -0
- package/utils.js.map +1 -1
- package/angular/bundles/nativescript-canvas-angular.umd.js +0 -29
- package/angular/bundles/nativescript-canvas-angular.umd.js.map +0 -1
- package/angular/esm2015/index.js +0 -12
- package/angular/esm2015/nativescript-canvas-angular.js +0 -5
- package/angular/fesm2015/nativescript-canvas-angular.js +0 -19
- package/angular/fesm2015/nativescript-canvas-angular.js.map +0 -1
- package/angular/nativescript-canvas-angular.d.ts +0 -4
- package/angular/nativescript-canvas-angular.metadata.json +0 -1
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +0 -1943
- package/platforms/ios/CanvasNative.xcframework/ios-x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-x86_64-simulator/CanvasNative.framework/TNSCanvas.nib +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 5.
|
|
3
|
-
// swift-module-flags: -target arm64-apple-
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name CanvasNative
|
|
4
|
+
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
4
5
|
import AVFoundation
|
|
5
6
|
@_exported import CanvasNative
|
|
6
7
|
import CoreVideo
|
|
@@ -10,95 +11,97 @@ import MetalKit
|
|
|
10
11
|
import OpenGLES
|
|
11
12
|
import Swift
|
|
12
13
|
import UIKit
|
|
14
|
+
import _Concurrency
|
|
15
|
+
import _StringProcessing
|
|
13
16
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(TNSDOMMatrix) public class TNSDOMMatrix : ObjectiveC.NSObject {
|
|
14
17
|
@objc override dynamic public init()
|
|
15
18
|
@objc public var a: Swift.Float {
|
|
16
19
|
@objc get
|
|
17
|
-
@objc set
|
|
20
|
+
@objc set
|
|
18
21
|
}
|
|
19
22
|
@objc public var b: Swift.Float {
|
|
20
23
|
@objc get
|
|
21
|
-
@objc set
|
|
24
|
+
@objc set
|
|
22
25
|
}
|
|
23
26
|
@objc public var c: Swift.Float {
|
|
24
27
|
@objc get
|
|
25
|
-
@objc set
|
|
28
|
+
@objc set
|
|
26
29
|
}
|
|
27
30
|
@objc public var d: Swift.Float {
|
|
28
31
|
@objc get
|
|
29
|
-
@objc set
|
|
32
|
+
@objc set
|
|
30
33
|
}
|
|
31
34
|
@objc public var e: Swift.Float {
|
|
32
35
|
@objc get
|
|
33
|
-
@objc set
|
|
36
|
+
@objc set
|
|
34
37
|
}
|
|
35
38
|
@objc public var f: Swift.Float {
|
|
36
39
|
@objc get
|
|
37
|
-
@objc set
|
|
40
|
+
@objc set
|
|
38
41
|
}
|
|
39
42
|
@objc public var m11: Swift.Float {
|
|
40
43
|
@objc get
|
|
41
|
-
@objc set
|
|
44
|
+
@objc set
|
|
42
45
|
}
|
|
43
46
|
@objc public var m12: Swift.Float {
|
|
44
47
|
@objc get
|
|
45
|
-
@objc set
|
|
48
|
+
@objc set
|
|
46
49
|
}
|
|
47
50
|
@objc public var m13: Swift.Float {
|
|
48
51
|
@objc get
|
|
49
|
-
@objc set
|
|
52
|
+
@objc set
|
|
50
53
|
}
|
|
51
54
|
@objc public var m14: Swift.Float {
|
|
52
55
|
@objc get
|
|
53
|
-
@objc set
|
|
56
|
+
@objc set
|
|
54
57
|
}
|
|
55
58
|
@objc public var m21: Swift.Float {
|
|
56
59
|
@objc get
|
|
57
|
-
@objc set
|
|
60
|
+
@objc set
|
|
58
61
|
}
|
|
59
62
|
@objc public var m22: Swift.Float {
|
|
60
63
|
@objc get
|
|
61
|
-
@objc set
|
|
64
|
+
@objc set
|
|
62
65
|
}
|
|
63
66
|
@objc public var m23: Swift.Float {
|
|
64
67
|
@objc get
|
|
65
|
-
@objc set
|
|
68
|
+
@objc set
|
|
66
69
|
}
|
|
67
70
|
@objc public var m24: Swift.Float {
|
|
68
71
|
@objc get
|
|
69
|
-
@objc set
|
|
72
|
+
@objc set
|
|
70
73
|
}
|
|
71
74
|
@objc public var m31: Swift.Float {
|
|
72
75
|
@objc get
|
|
73
|
-
@objc set
|
|
76
|
+
@objc set
|
|
74
77
|
}
|
|
75
78
|
@objc public var m32: Swift.Float {
|
|
76
79
|
@objc get
|
|
77
|
-
@objc set
|
|
80
|
+
@objc set
|
|
78
81
|
}
|
|
79
82
|
@objc public var m33: Swift.Float {
|
|
80
83
|
@objc get
|
|
81
|
-
@objc set
|
|
84
|
+
@objc set
|
|
82
85
|
}
|
|
83
86
|
@objc public var m34: Swift.Float {
|
|
84
87
|
@objc get
|
|
85
|
-
@objc set
|
|
88
|
+
@objc set
|
|
86
89
|
}
|
|
87
90
|
@objc public var m41: Swift.Float {
|
|
88
91
|
@objc get
|
|
89
|
-
@objc set
|
|
92
|
+
@objc set
|
|
90
93
|
}
|
|
91
94
|
@objc public var m42: Swift.Float {
|
|
92
95
|
@objc get
|
|
93
|
-
@objc set
|
|
96
|
+
@objc set
|
|
94
97
|
}
|
|
95
98
|
@objc public var m43: Swift.Float {
|
|
96
99
|
@objc get
|
|
97
|
-
@objc set
|
|
100
|
+
@objc set
|
|
98
101
|
}
|
|
99
102
|
@objc public var m44: Swift.Float {
|
|
100
103
|
@objc get
|
|
101
|
-
@objc set
|
|
104
|
+
@objc set
|
|
102
105
|
}
|
|
103
106
|
@objc deinit
|
|
104
107
|
}
|
|
@@ -180,7 +183,6 @@ import UIKit
|
|
|
180
183
|
@objc get
|
|
181
184
|
}
|
|
182
185
|
@objc deinit
|
|
183
|
-
@objc override dynamic public init()
|
|
184
186
|
}
|
|
185
187
|
@objc(TNSTextDirection) public enum TNSTextDirection : Swift.Int, Swift.RawRepresentable {
|
|
186
188
|
case Ltr
|
|
@@ -216,7 +218,6 @@ import UIKit
|
|
|
216
218
|
@objc public func drawArraysInstancedANGLE(mode: Swift.Int32, first: Swift.Int32, count: Swift.Int32, primcount: Swift.Int32)
|
|
217
219
|
@objc public func drawElementsInstancedANGLE(mode: Swift.Int32, count: Swift.Int32, type: Swift.Int32, offset: Swift.Int32, primcount: Swift.Int32)
|
|
218
220
|
@objc public func vertexAttribDivisorANGLE(index: Swift.Int32, divisor: Swift.Int32)
|
|
219
|
-
@objc override dynamic public init()
|
|
220
221
|
@objc deinit
|
|
221
222
|
}
|
|
222
223
|
@_inheritsConvenienceInitializers @objcMembers @objc(TNS_EXT_blend_minmax) public class TNS_EXT_blend_minmax : ObjectiveC.NSObject {
|
|
@@ -229,59 +230,59 @@ import UIKit
|
|
|
229
230
|
}
|
|
230
231
|
@objc deinit
|
|
231
232
|
}
|
|
232
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(TNSCanvas) public class TNSCanvas : UIKit.UIView, CanvasNative.RenderListener {
|
|
233
|
-
@objc public static func getViews() -> Foundation.NSMapTable<Foundation.NSString, CanvasNative.TNSCanvas>
|
|
234
|
-
@objc public func getViewPtr() -> Swift.UnsafeMutableRawPointer?
|
|
235
|
-
@objc public var ignorePixelScaling: Swift.Bool {
|
|
233
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(TNSCanvas) @_Concurrency.MainActor(unsafe) public class TNSCanvas : UIKit.UIView, CanvasNative.RenderListener {
|
|
234
|
+
@objc @_Concurrency.MainActor(unsafe) public static func getViews() -> Foundation.NSMapTable<Foundation.NSString, CanvasNative.TNSCanvas>
|
|
235
|
+
@objc @_Concurrency.MainActor(unsafe) public func getViewPtr() -> Swift.UnsafeMutableRawPointer?
|
|
236
|
+
@objc @_Concurrency.MainActor(unsafe) public var ignorePixelScaling: Swift.Bool {
|
|
236
237
|
@objc get
|
|
237
|
-
@objc set
|
|
238
|
+
@objc set
|
|
238
239
|
}
|
|
239
|
-
@objc public static func createSVGMatrix() -> CanvasNative.TNSDOMMatrix
|
|
240
|
-
@objc public var handleInvalidationManually: Swift.Bool {
|
|
240
|
+
@objc @_Concurrency.MainActor(unsafe) public static func createSVGMatrix() -> CanvasNative.TNSDOMMatrix
|
|
241
|
+
@objc @_Concurrency.MainActor(unsafe) public var handleInvalidationManually: Swift.Bool {
|
|
241
242
|
@objc get
|
|
242
|
-
@objc set
|
|
243
|
+
@objc set
|
|
243
244
|
}
|
|
244
|
-
@objc public func didDraw()
|
|
245
|
-
@objc public func toDataURL() -> Swift.String
|
|
246
|
-
@objc public func toDataURL(_ type: Swift.String) -> Swift.String
|
|
247
|
-
@objc public func toDataURL(_ type: Swift.String, _ format: Swift.Float) -> Swift.String
|
|
248
|
-
@objc public func toDataURLAsync(_ callback: @escaping (Swift.String) -> Swift.Void)
|
|
249
|
-
@objc public func toDataURLAsync(_ type: Swift.String, _ callback: @escaping (Swift.String) -> Swift.Void)
|
|
250
|
-
@objc public func toDataURLAsync(_ type: Swift.String, _ format: Swift.Float, _ callback: @escaping (Swift.String) -> Swift.Void)
|
|
251
|
-
@objc public func snapshot() -> [Swift.UInt8]
|
|
252
|
-
@objc public
|
|
245
|
+
@objc @_Concurrency.MainActor(unsafe) public func didDraw()
|
|
246
|
+
@objc @_Concurrency.MainActor(unsafe) public func toDataURL() -> Swift.String
|
|
247
|
+
@objc @_Concurrency.MainActor(unsafe) public func toDataURL(_ type: Swift.String) -> Swift.String
|
|
248
|
+
@objc @_Concurrency.MainActor(unsafe) public func toDataURL(_ type: Swift.String, _ format: Swift.Float) -> Swift.String
|
|
249
|
+
@objc @_Concurrency.MainActor(unsafe) public func toDataURLAsync(_ callback: @escaping (Swift.String) -> Swift.Void)
|
|
250
|
+
@objc @_Concurrency.MainActor(unsafe) public func toDataURLAsync(_ type: Swift.String, _ callback: @escaping (Swift.String) -> Swift.Void)
|
|
251
|
+
@objc @_Concurrency.MainActor(unsafe) public func toDataURLAsync(_ type: Swift.String, _ format: Swift.Float, _ callback: @escaping (Swift.String) -> Swift.Void)
|
|
252
|
+
@objc @_Concurrency.MainActor(unsafe) public func snapshot() -> [Swift.UInt8]
|
|
253
|
+
@objc @_Concurrency.MainActor(unsafe) public func snapshotEncoded() -> [Swift.UInt8]
|
|
254
|
+
@objc @_Concurrency.MainActor(unsafe) public var isGL: Swift.Bool {
|
|
253
255
|
@objc get
|
|
254
256
|
}
|
|
255
|
-
@objc public func getId() -> OpenGLES.GLint
|
|
256
|
-
@objc public var width: Swift.Float {
|
|
257
|
+
@objc @_Concurrency.MainActor(unsafe) public func getId() -> OpenGLES.GLint
|
|
258
|
+
@objc @_Concurrency.MainActor(unsafe) public var width: Swift.Float {
|
|
257
259
|
@objc get
|
|
258
260
|
}
|
|
259
|
-
@objc public var height: Swift.Float {
|
|
261
|
+
@objc @_Concurrency.MainActor(unsafe) public var height: Swift.Float {
|
|
260
262
|
@objc get
|
|
261
263
|
}
|
|
262
|
-
@objc public func updateDirection(_ direction: Swift.String)
|
|
263
|
-
@objc public var context: Swift.Int64 {
|
|
264
|
+
@objc @_Concurrency.MainActor(unsafe) public func updateDirection(_ direction: Swift.String)
|
|
265
|
+
@objc @_Concurrency.MainActor(unsafe) public var context: Swift.Int64 {
|
|
264
266
|
@objc get
|
|
265
|
-
@objc set
|
|
267
|
+
@objc set
|
|
266
268
|
}
|
|
267
|
-
@objc public func doDraw()
|
|
268
|
-
@objc public func flush()
|
|
269
|
-
@objc public init(frame:
|
|
270
|
-
@objc public func setListener(_ listener: CanvasNative.TNSCanvasListener?)
|
|
271
|
-
@objc public var fps: Swift.Float {
|
|
269
|
+
@objc @_Concurrency.MainActor(unsafe) public func doDraw()
|
|
270
|
+
@objc @_Concurrency.MainActor(unsafe) public func flush()
|
|
271
|
+
@objc @_Concurrency.MainActor(unsafe) public init(frame: CoreFoundation.CGRect, useCpu: Swift.Bool)
|
|
272
|
+
@objc @_Concurrency.MainActor(unsafe) public func setListener(_ listener: CanvasNative.TNSCanvasListener?)
|
|
273
|
+
@objc @_Concurrency.MainActor(unsafe) public var fps: Swift.Float {
|
|
272
274
|
@objc get
|
|
273
275
|
}
|
|
274
|
-
@objc override dynamic public func layoutSubviews()
|
|
276
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
|
|
275
277
|
@objc deinit
|
|
276
|
-
@objc public func resume()
|
|
277
|
-
@objc public func pause()
|
|
278
|
-
@objc public func moveToMain()
|
|
279
|
-
@objc public func moveOffMain()
|
|
280
|
-
@objc public func handleMoveOffMain()
|
|
281
|
-
@objc public func handleMoveToMain()
|
|
282
|
-
@objc public func getContext(_ type: Swift.String) -> CanvasNative.TNSCanvasRenderingContext?
|
|
283
|
-
@objc public func getContext(_ type: Swift.String, contextAttributes: Foundation.NSDictionary) -> CanvasNative.TNSCanvasRenderingContext?
|
|
284
|
-
@objc override dynamic public init(frame: CoreGraphics.CGRect)
|
|
278
|
+
@objc @_Concurrency.MainActor(unsafe) public func resume()
|
|
279
|
+
@objc @_Concurrency.MainActor(unsafe) public func pause()
|
|
280
|
+
@objc @_Concurrency.MainActor(unsafe) public func moveToMain()
|
|
281
|
+
@objc @_Concurrency.MainActor(unsafe) public func moveOffMain()
|
|
282
|
+
@objc @_Concurrency.MainActor(unsafe) public func handleMoveOffMain()
|
|
283
|
+
@objc @_Concurrency.MainActor(unsafe) public func handleMoveToMain()
|
|
284
|
+
@objc @_Concurrency.MainActor(unsafe) public func getContext(_ type: Swift.String) -> CanvasNative.TNSCanvasRenderingContext?
|
|
285
|
+
@objc @_Concurrency.MainActor(unsafe) public func getContext(_ type: Swift.String, contextAttributes: Foundation.NSDictionary) -> CanvasNative.TNSCanvasRenderingContext?
|
|
285
286
|
}
|
|
286
287
|
@_inheritsConvenienceInitializers @objcMembers @objc(TNSTextEncoder) public class TNSTextEncoder : ObjectiveC.NSObject {
|
|
287
288
|
@objc override dynamic public init()
|
|
@@ -321,7 +322,7 @@ import UIKit
|
|
|
321
322
|
}
|
|
322
323
|
@objc deinit
|
|
323
324
|
}
|
|
324
|
-
extension RangeReplaceableCollection {
|
|
325
|
+
extension Swift.RangeReplaceableCollection {
|
|
325
326
|
public mutating func resize(_ size: Swift.Int, fillWith value: Self.Iterator.Element)
|
|
326
327
|
}
|
|
327
328
|
@objc(TNSLineJoin) public enum TNSLineJoin : Swift.Int, Swift.RawRepresentable {
|
|
@@ -378,8 +379,11 @@ extension RangeReplaceableCollection {
|
|
|
378
379
|
@objc public func bindVertexArray(_ vertexArray: Swift.UInt32)
|
|
379
380
|
@objc public func blitFramebuffer(_ srcX0: Swift.Int32, _ srcY0: Swift.Int32, _ srcX1: Swift.Int32, _ srcY1: Swift.Int32, _ dstX0: Swift.Int32, _ dstY0: Swift.Int32, _ dstX1: Swift.Int32, _ dstY1: Swift.Int32, _ mask: Swift.UInt32, _ filter: Swift.UInt32)
|
|
380
381
|
@objc public func clearBufferfv(_ buffer: Swift.UInt32, _ drawbuffer: Swift.Int32, _ values: Swift.UnsafeRawPointer)
|
|
382
|
+
@objc public func clearBufferfv(_ buffer: Swift.UInt32, _ drawbuffer: Swift.Int32, _ values: Swift.UnsafeRawPointer, offset: Swift.Int)
|
|
381
383
|
@objc public func clearBufferiv(_ buffer: Swift.UInt32, _ drawbuffer: Swift.Int32, _ values: Swift.UnsafeRawPointer)
|
|
384
|
+
@objc public func clearBufferiv(_ buffer: Swift.UInt32, _ drawbuffer: Swift.Int32, _ values: Swift.UnsafeRawPointer, offset: Swift.Int)
|
|
382
385
|
@objc public func clearBufferuiv(_ buffer: Swift.UInt32, _ drawbuffer: Swift.Int32, _ values: Swift.UnsafeRawPointer)
|
|
386
|
+
@objc public func clearBufferuiv(_ buffer: Swift.UInt32, _ drawbuffer: Swift.Int32, _ values: Swift.UnsafeRawPointer, offset: Swift.Int)
|
|
383
387
|
@objc public func clearBufferfi(_ buffer: Swift.UInt32, _ drawbuffer: Swift.Int32, _ depth: Swift.Float32, _ stencil: Swift.Int32)
|
|
384
388
|
@objc public func clientWaitSync(_ sync: OpenGLES.GLsync, _ flags: Swift.UInt32, _ timeout: Swift.UInt64) -> Swift.Int32
|
|
385
389
|
@objc public func compressedTexSubImage3D(_ target: Swift.UInt32, _ level: Swift.Int32, _ xoffset: Swift.Int32, _ yoffset: Swift.Int32, _ zoffset: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ depth: Swift.Int32, _ format: Swift.UInt32, _ imageSize: Swift.Int32, _ offset: Swift.Int32)
|
|
@@ -414,6 +418,7 @@ extension RangeReplaceableCollection {
|
|
|
414
418
|
@objc public func getActiveUniformBlockParameter(_ program: Swift.UInt32, _ uniformBlockIndex: Swift.UInt32, _ pname: Swift.UInt32) -> Any
|
|
415
419
|
@objc public func getActiveUniforms(_ program: Swift.UInt32, _ uniformIndices: [Swift.UInt32], _ pname: Swift.UInt32) -> Any
|
|
416
420
|
@objc public func getBufferSubData(_ target: Swift.UInt32, _ srcByteOffset: Swift.Int, _ dstData: Swift.UnsafeMutableRawPointer, size: Swift.Int, _ dstOffset: Swift.Int32, _ length: Swift.Int32)
|
|
421
|
+
@objc public func getBufferSubData(_ target: Swift.UInt32, _ srcByteOffset: Swift.Int, _ dstData: Swift.UnsafeMutableRawPointer, size: Swift.Int, _ dstOffset: Swift.Int32, _ length: Swift.Int32, offset: Swift.Int)
|
|
417
422
|
@objc public func getFragDataLocation(_ program: Swift.UInt32, _ name: Swift.String) -> Swift.Int32
|
|
418
423
|
@objc public func getIndexedParameter(_ target: Swift.UInt32, _ index: Swift.UInt32) -> Any
|
|
419
424
|
@objc public func getInternalformatParameter(_ target: Swift.UInt32, _ internalformat: Swift.UInt32, _ pname: Swift.UInt32) -> Any
|
|
@@ -440,6 +445,8 @@ extension RangeReplaceableCollection {
|
|
|
440
445
|
@objc public func samplerParameterf(_ sampler: Swift.UInt32, _ pname: Swift.UInt32, _ param: Swift.Float)
|
|
441
446
|
@objc public func texImage3D(_ target: Swift.UInt32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ depth: Swift.Int32, _ border: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, data: Foundation.NSData)
|
|
442
447
|
@objc public func texImage3D(_ target: Swift.UInt32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ depth: Swift.Int32, _ border: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, offset: Swift.Int)
|
|
448
|
+
@objc public func texImage3D(_ target: Swift.UInt32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ depth: Swift.Int32, _ border: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, pixels: Swift.UnsafeRawPointer, size: Swift.Int)
|
|
449
|
+
@objc public func texImage3D(_ target: Swift.UInt32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ depth: Swift.Int32, _ border: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, pixels: Swift.UnsafeRawPointer, size: Swift.Int, pixelOffset: Swift.Int, srcOffset: Swift.Int32)
|
|
443
450
|
@objc public func texImage3D(_ target: Swift.UInt32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ depth: Swift.Int32, _ border: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, i8 source: [Swift.Int8])
|
|
444
451
|
@objc public func texImage3D(_ target: Swift.UInt32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ depth: Swift.Int32, _ border: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, u8 source: [Swift.UInt8])
|
|
445
452
|
@objc public func texImage3D(_ target: Swift.UInt32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ depth: Swift.Int32, _ border: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, i16 source: [Swift.Int16])
|
|
@@ -490,21 +497,33 @@ extension RangeReplaceableCollection {
|
|
|
490
497
|
@objc public func uniform3ui(_ location: Swift.Int32, _ v0: Swift.UInt32, _ v1: Swift.UInt32, _ v2: Swift.UInt32)
|
|
491
498
|
@objc public func uniform4ui(_ location: Swift.Int32, _ v0: Swift.UInt32, _ v1: Swift.UInt32, _ v2: Swift.UInt32, _ v3: Swift.UInt32)
|
|
492
499
|
@objc public func uniform1uiv(_ location: Swift.Int32, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int)
|
|
500
|
+
@objc public func uniform1uiv(_ location: Swift.Int32, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
493
501
|
@objc public func uniform2uiv(_ location: Swift.Int32, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int)
|
|
502
|
+
@objc public func uniform2uiv(_ location: Swift.Int32, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
494
503
|
@objc public func uniform3uiv(_ location: Swift.Int32, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int)
|
|
504
|
+
@objc public func uniform3uiv(_ location: Swift.Int32, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
495
505
|
@objc public func uniform4uiv(_ location: Swift.Int32, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int)
|
|
506
|
+
@objc public func uniform4uiv(_ location: Swift.Int32, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
496
507
|
@objc public func uniformBlockBinding(_ program: Swift.UInt32, _ uniformBlockIndex: Swift.UInt32, _ uniformBlockBinding: Swift.UInt32)
|
|
497
508
|
@objc public func uniformMatrix3x2fv(_ location: Swift.UInt32, _ transpose: Swift.Bool, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int)
|
|
509
|
+
@objc public func uniformMatrix3x2fv(_ location: Swift.UInt32, _ transpose: Swift.Bool, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
498
510
|
@objc public func uniformMatrix4x2fv(_ location: Swift.UInt32, _ transpose: Swift.Bool, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int)
|
|
511
|
+
@objc public func uniformMatrix4x2fv(_ location: Swift.UInt32, _ transpose: Swift.Bool, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
499
512
|
@objc public func uniformMatrix2x3fv(_ location: Swift.UInt32, _ transpose: Swift.Bool, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int)
|
|
513
|
+
@objc public func uniformMatrix2x3fv(_ location: Swift.UInt32, _ transpose: Swift.Bool, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
500
514
|
@objc public func uniformMatrix4x3fv(_ location: Swift.UInt32, _ transpose: Swift.Bool, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int)
|
|
515
|
+
@objc public func uniformMatrix4x3fv(_ location: Swift.UInt32, _ transpose: Swift.Bool, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
501
516
|
@objc public func uniformMatrix2x4fv(_ location: Swift.UInt32, _ transpose: Swift.Bool, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int)
|
|
517
|
+
@objc public func uniformMatrix2x4fv(_ location: Swift.UInt32, _ transpose: Swift.Bool, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
502
518
|
@objc public func uniformMatrix3x4fv(_ location: Swift.UInt32, _ transpose: Swift.Bool, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int)
|
|
519
|
+
@objc public func uniformMatrix3x4fv(_ location: Swift.UInt32, _ transpose: Swift.Bool, _ data: Swift.UnsafeRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
503
520
|
@objc public func vertexAttribDivisor(_ index: Swift.UInt32, _ divisor: Swift.UInt32)
|
|
504
521
|
@objc public func vertexAttribI4i(_ index: Swift.UInt32, _ v0: Swift.Int32, _ v1: Swift.Int32, _ v2: Swift.Int32, _ v3: Swift.Int32)
|
|
505
522
|
@objc public func vertexAttribI4ui(_ index: Swift.UInt32, _ v0: Swift.UInt32, _ v1: Swift.UInt32, _ v2: Swift.UInt32, _ v3: Swift.UInt32)
|
|
506
523
|
@objc public func vertexAttribI4iv(_ index: Swift.UInt32, _ value: Swift.UnsafeRawPointer)
|
|
524
|
+
@objc public func vertexAttribI4iv(_ index: Swift.UInt32, _ value: Swift.UnsafeRawPointer, offset: Swift.Int)
|
|
507
525
|
@objc public func vertexAttribI4uiv(_ index: Swift.UInt32, _ value: Swift.UnsafeRawPointer)
|
|
526
|
+
@objc public func vertexAttribI4uiv(_ index: Swift.UInt32, _ value: Swift.UnsafeRawPointer, offset: Swift.Int)
|
|
508
527
|
@objc public var READ_BUFFER: Swift.UInt32 {
|
|
509
528
|
@objc get
|
|
510
529
|
}
|
|
@@ -1362,11 +1381,26 @@ extension RangeReplaceableCollection {
|
|
|
1362
1381
|
@objc get
|
|
1363
1382
|
}
|
|
1364
1383
|
@objc public func decode(buffer: Foundation.Data) -> Swift.String
|
|
1384
|
+
@objc public func decode(buffer: Foundation.Data, offset: Swift.Int) -> Swift.String
|
|
1385
|
+
@objc public func decode(buffer: Foundation.Data, offset: Swift.Int, length: Swift.Int) -> Swift.String
|
|
1386
|
+
@objc public func decode(u8 buffer: Swift.UnsafeMutableRawPointer, _ size: Swift.Int) -> Swift.String
|
|
1387
|
+
@objc public func decode(u8 buffer: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int) -> Swift.String
|
|
1388
|
+
@objc public func decode(i8 buffer: Swift.UnsafeMutableRawPointer, _ size: Swift.Int) -> Swift.String
|
|
1389
|
+
@objc public func decode(i8 buffer: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int) -> Swift.String
|
|
1390
|
+
@objc public func decode(u16 buffer: Swift.UnsafeMutableRawPointer, _ size: Swift.Int) -> Swift.String
|
|
1391
|
+
@objc public func decode(u16 buffer: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int) -> Swift.String
|
|
1392
|
+
@objc public func decode(i16 buffer: Swift.UnsafeMutableRawPointer, _ size: Swift.Int) -> Swift.String
|
|
1393
|
+
@objc public func decode(i16 buffer: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int) -> Swift.String
|
|
1394
|
+
@objc public func decode(i32 buffer: Swift.UnsafeMutableRawPointer, _ size: Swift.Int) -> Swift.String
|
|
1395
|
+
@objc public func decode(i32 buffer: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int) -> Swift.String
|
|
1396
|
+
@objc public func decode(u32 buffer: Swift.UnsafeMutableRawPointer, _ size: Swift.Int) -> Swift.String
|
|
1397
|
+
@objc public func decode(u32 buffer: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int) -> Swift.String
|
|
1365
1398
|
@objc public func decode(bytes: [Swift.UInt8]) -> Swift.String
|
|
1366
1399
|
@objc public func decode(i8 bytes: [Swift.Int8]) -> Swift.String
|
|
1367
1400
|
@objc public func decode(u16 bytes: [Swift.UInt16]) -> Swift.String
|
|
1368
1401
|
@objc public func decode(i16 bytes: [Swift.Int16]) -> Swift.String
|
|
1369
1402
|
@objc public func decode(i32 bytes: [Swift.Int32]) -> Swift.String
|
|
1403
|
+
@objc public func decode(u32 bytes: [Swift.UInt32]) -> Swift.String
|
|
1370
1404
|
@objc deinit
|
|
1371
1405
|
}
|
|
1372
1406
|
@objcMembers @objc(TNSWebGLActiveInfo) public class TNSWebGLActiveInfo : ObjectiveC.NSObject {
|
|
@@ -1380,7 +1414,6 @@ extension RangeReplaceableCollection {
|
|
|
1380
1414
|
@objc get
|
|
1381
1415
|
}
|
|
1382
1416
|
@objc public init(name: Swift.String, size: Swift.Int32, type: Swift.UInt32)
|
|
1383
|
-
@objc override dynamic public init()
|
|
1384
1417
|
@objc deinit
|
|
1385
1418
|
}
|
|
1386
1419
|
@_inheritsConvenienceInitializers @objcMembers @objc(TNSRender) public class TNSRender : ObjectiveC.NSObject {
|
|
@@ -1388,22 +1421,23 @@ extension RangeReplaceableCollection {
|
|
|
1388
1421
|
@objc public func createSurface()
|
|
1389
1422
|
@objc deinit
|
|
1390
1423
|
}
|
|
1391
|
-
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(TNSSVG) public class TNSSVG : UIKit.UIView {
|
|
1392
|
-
@objc public var ignorePixelScaling: Swift.Bool {
|
|
1424
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(TNSSVG) @_Concurrency.MainActor(unsafe) public class TNSSVG : UIKit.UIView {
|
|
1425
|
+
@objc @_Concurrency.MainActor(unsafe) public var ignorePixelScaling: Swift.Bool {
|
|
1393
1426
|
@objc get
|
|
1394
|
-
@objc set
|
|
1427
|
+
@objc set
|
|
1395
1428
|
}
|
|
1396
|
-
@objc public var src: Swift.String? {
|
|
1429
|
+
@objc @_Concurrency.MainActor(unsafe) public var src: Swift.String? {
|
|
1397
1430
|
@objc get
|
|
1398
|
-
@objc set
|
|
1431
|
+
@objc set
|
|
1399
1432
|
}
|
|
1400
|
-
@objc public var srcPath: Swift.String? {
|
|
1433
|
+
@objc @_Concurrency.MainActor(unsafe) public var srcPath: Swift.String? {
|
|
1401
1434
|
@objc get
|
|
1402
|
-
@objc set
|
|
1435
|
+
@objc set
|
|
1403
1436
|
}
|
|
1404
|
-
@objc override dynamic public func layoutSubviews()
|
|
1405
|
-
@objc override dynamic public init(frame:
|
|
1406
|
-
@objc override dynamic public func draw(_ rect:
|
|
1437
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
|
|
1438
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
1439
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
1440
|
+
@objc @_Concurrency.MainActor(unsafe) public func toImage() -> UIKit.UIImage?
|
|
1407
1441
|
@objc deinit
|
|
1408
1442
|
}
|
|
1409
1443
|
@objcMembers @objc(TNSWebGLRenderingContext) public class TNSWebGLRenderingContext : CanvasNative.TNSCanvasRenderingContext {
|
|
@@ -1432,6 +1466,7 @@ extension RangeReplaceableCollection {
|
|
|
1432
1466
|
@objc public func bufferData(_ target: Swift.UInt32, srcData: Foundation.NSNull, _ usage: Swift.UInt32)
|
|
1433
1467
|
@objc public func bufferData(_ target: Swift.UInt32, i8 srcData: [Swift.Int8], _ usage: Swift.UInt32)
|
|
1434
1468
|
@objc public func bufferData(_ target: Swift.UInt32, srcData: Swift.UnsafeMutableRawPointer, size: Swift.Int, _ usage: Swift.UInt32)
|
|
1469
|
+
@objc public func bufferData(_ target: Swift.UInt32, srcData: Swift.UnsafeMutableRawPointer, size: Swift.Int, _ usage: Swift.UInt32, offset: Swift.Int)
|
|
1435
1470
|
@objc public func bufferData(_ target: Swift.UInt32, u8 srcData: [Swift.UInt8], _ usage: Swift.UInt32)
|
|
1436
1471
|
@objc public func bufferData(_ target: Swift.UInt32, i16 srcData: [Swift.Int16], _ usage: Swift.UInt32)
|
|
1437
1472
|
@objc public func bufferData(_ target: Swift.UInt32, u16 srcData: [Swift.UInt16], _ usage: Swift.UInt32)
|
|
@@ -1442,6 +1477,7 @@ extension RangeReplaceableCollection {
|
|
|
1442
1477
|
@objc public func bufferSubData(_ target: Swift.UInt32, _ offset: Swift.Int, _ srcData: Foundation.NSNull)
|
|
1443
1478
|
@objc public func bufferSubData(_ target: Swift.UInt32, _ offset: Swift.Int, i8 srcData: [Swift.Int8])
|
|
1444
1479
|
@objc public func bufferSubData(_ target: Swift.UInt32, _ offset: Swift.Int, srcData: Swift.UnsafeMutableRawPointer, size: Swift.Int)
|
|
1480
|
+
@objc public func bufferSubData(_ target: Swift.UInt32, _ offset: Swift.Int, srcData: Swift.UnsafeMutableRawPointer, size: Swift.Int, os: Swift.Int)
|
|
1445
1481
|
@objc public func bufferSubData(_ target: Swift.UInt32, _ offset: Swift.Int, u8 srcData: [Swift.UInt8])
|
|
1446
1482
|
@objc public func bufferSubData(_ target: Swift.UInt32, _ offset: Swift.Int, i16 srcData: [Swift.Int16])
|
|
1447
1483
|
@objc public func bufferSubData(_ target: Swift.UInt32, _ offset: Swift.Int, u16 srcData: [Swift.UInt16])
|
|
@@ -1527,6 +1563,7 @@ extension RangeReplaceableCollection {
|
|
|
1527
1563
|
@objc public func pixelStorei(_ pname: Swift.UInt32, _ param: Swift.UInt32)
|
|
1528
1564
|
@objc public func polygonOffset(_ factor: Swift.Float32, _ units: Swift.Float32)
|
|
1529
1565
|
@objc public func readPixels(_ x: Swift.Int32, _ y: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, _ pixels: Swift.UnsafeMutableRawPointer)
|
|
1566
|
+
@objc public func readPixels(_ x: Swift.Int32, _ y: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, _ pixels: Swift.UnsafeMutableRawPointer, offset: Swift.Int)
|
|
1530
1567
|
@objc public func renderbufferStorage(_ target: Swift.UInt32, _ internalFormat: Swift.UInt32, _ width: Swift.Int32, _ height: Swift.Int32)
|
|
1531
1568
|
@objc public func sampleCoverage(_ value: Swift.Float32, _ invert: Swift.Bool)
|
|
1532
1569
|
@objc public func scissor(_ x: Swift.Int32, _ y: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32)
|
|
@@ -1540,6 +1577,7 @@ extension RangeReplaceableCollection {
|
|
|
1540
1577
|
@objc public func texImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ border: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, data: Foundation.NSData)
|
|
1541
1578
|
@objc public func texImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ border: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, u8 pixels: [Swift.UInt8])
|
|
1542
1579
|
@objc public func texImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ border: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, pixels: Swift.UnsafeRawPointer, size: Swift.Int)
|
|
1580
|
+
@objc public func texImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ border: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, pixels: Swift.UnsafeRawPointer, size: Swift.Int, offset: Swift.Int)
|
|
1543
1581
|
@objc public func texImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ border: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, u16 pixels: [Swift.UInt16])
|
|
1544
1582
|
@objc public func texImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ border: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, u32 pixels: [Swift.UInt32])
|
|
1545
1583
|
@objc public func texImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ border: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, f32 pixels: [Swift.Float32])
|
|
@@ -1554,6 +1592,7 @@ extension RangeReplaceableCollection {
|
|
|
1554
1592
|
@objc public func texSubImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ xoffset: Swift.Int32, _ yoffset: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, data: Foundation.NSData)
|
|
1555
1593
|
@objc public func texSubImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ xoffset: Swift.Int32, _ yoffset: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, u8 pixels: [Swift.UInt8])
|
|
1556
1594
|
@objc public func texSubImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ xoffset: Swift.Int32, _ yoffset: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, pixels: Swift.UnsafeMutableRawPointer, size: Swift.Int)
|
|
1595
|
+
@objc public func texSubImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ xoffset: Swift.Int32, _ yoffset: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, pixels: Swift.UnsafeMutableRawPointer, size: Swift.Int, offset: Swift.Int)
|
|
1557
1596
|
@objc public func texSubImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ xoffset: Swift.Int32, _ yoffset: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, u16 pixels: [Swift.UInt16])
|
|
1558
1597
|
@objc public func texSubImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ xoffset: Swift.Int32, _ yoffset: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, f32 pixels: [Swift.Float32])
|
|
1559
1598
|
@objc public func texSubImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ xoffset: Swift.Int32, _ yoffset: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, _ pixels: Foundation.NSNull)
|
|
@@ -1564,23 +1603,34 @@ extension RangeReplaceableCollection {
|
|
|
1564
1603
|
@objc public func texSubImage2D(_ target: Swift.UInt32, _ level: Swift.Int32, _ xoffset: Swift.Int32, _ yoffset: Swift.Int32, _ format: Swift.UInt32, _ type: Swift.UInt32, _ pixels: Foundation.NSNull)
|
|
1565
1604
|
@objc public func uniform1f(_ location: Swift.Int32, _ v0: Swift.Float32)
|
|
1566
1605
|
@objc public func uniform1fv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int)
|
|
1606
|
+
@objc public func uniform1fv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
1567
1607
|
@objc public func uniform1i(_ location: Swift.Int32, _ v0: Swift.Int32)
|
|
1568
1608
|
@objc public func uniform1iv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int)
|
|
1609
|
+
@objc public func uniform1iv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
1569
1610
|
@objc public func uniform2f(_ location: Swift.Int32, _ v0: Swift.Float32, _ v1: Swift.Float32)
|
|
1570
1611
|
@objc public func uniform2fv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int)
|
|
1612
|
+
@objc public func uniform2fv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
1571
1613
|
@objc public func uniform2i(_ location: Swift.Int32, _ v0: Swift.Int32, _ v1: Swift.Int32)
|
|
1572
1614
|
@objc public func uniform2iv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int)
|
|
1615
|
+
@objc public func uniform2iv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
1573
1616
|
@objc public func uniform3f(_ location: Swift.Int32, _ v0: Swift.Float32, _ v1: Swift.Float32, _ v2: Swift.Float32)
|
|
1574
1617
|
@objc public func uniform3fv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int)
|
|
1618
|
+
@objc public func uniform3fv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
1575
1619
|
@objc public func uniform3i(_ location: Swift.Int32, _ v0: Swift.Int32, _ v1: Swift.Int32, _ v2: Swift.Int32)
|
|
1576
1620
|
@objc public func uniform3iv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int)
|
|
1621
|
+
@objc public func uniform3iv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
1577
1622
|
@objc public func uniform4f(_ location: Swift.Int32, _ v0: Swift.Float32, _ v1: Swift.Float32, _ v2: Swift.Float32, _ v3: Swift.Float32)
|
|
1578
1623
|
@objc public func uniform4fv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int)
|
|
1624
|
+
@objc public func uniform4fv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
1579
1625
|
@objc public func uniform4i(_ location: Swift.Int32, _ v0: Swift.Int32, _ v1: Swift.Int32, _ v2: Swift.Int32, _ v3: Swift.Int32)
|
|
1580
1626
|
@objc public func uniform4iv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int)
|
|
1627
|
+
@objc public func uniform4iv(_ location: Swift.Int32, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
1581
1628
|
@objc public func uniformMatrix2fv(_ location: Swift.Int32, _ transpose: Swift.Bool, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int)
|
|
1629
|
+
@objc public func uniformMatrix2fv(_ location: Swift.Int32, _ transpose: Swift.Bool, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
1582
1630
|
@objc public func uniformMatrix3fv(_ location: Swift.Int32, _ transpose: Swift.Bool, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int)
|
|
1631
|
+
@objc public func uniformMatrix3fv(_ location: Swift.Int32, _ transpose: Swift.Bool, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
1583
1632
|
@objc public func uniformMatrix4fv(_ location: Swift.Int32, _ transpose: Swift.Bool, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int)
|
|
1633
|
+
@objc public func uniformMatrix4fv(_ location: Swift.Int32, _ transpose: Swift.Bool, _ value: Swift.UnsafeMutableRawPointer, _ size: Swift.Int, offset: Swift.Int)
|
|
1584
1634
|
@objc public func useProgram(_ program: Swift.UInt32)
|
|
1585
1635
|
@objc public func validateProgram(_ program: Swift.UInt32)
|
|
1586
1636
|
@objc public func vertexAttrib1f(_ index: Swift.UInt32, _ v0: Swift.Float32)
|
|
@@ -1588,9 +1638,13 @@ extension RangeReplaceableCollection {
|
|
|
1588
1638
|
@objc public func vertexAttrib3f(_ index: Swift.UInt32, _ v0: Swift.Float32, _ v1: Swift.Float32, _ v2: Swift.Float32)
|
|
1589
1639
|
@objc public func vertexAttrib4f(_ index: Swift.UInt32, _ v0: Swift.Float32, _ v1: Swift.Float32, _ v2: Swift.Float32, _ v3: Swift.Float32)
|
|
1590
1640
|
@objc public func vertexAttrib1fv(_ index: Swift.UInt32, _ value: Swift.UnsafeMutableRawPointer)
|
|
1641
|
+
@objc public func vertexAttrib1fv(_ index: Swift.UInt32, _ value: Swift.UnsafeMutableRawPointer, offset: Swift.Int)
|
|
1591
1642
|
@objc public func vertexAttrib2fv(_ index: Swift.UInt32, _ value: Swift.UnsafeMutableRawPointer)
|
|
1643
|
+
@objc public func vertexAttrib2fv(_ index: Swift.UInt32, _ value: Swift.UnsafeMutableRawPointer, offset: Swift.Int)
|
|
1592
1644
|
@objc public func vertexAttrib3fv(_ index: Swift.UInt32, _ value: Swift.UnsafeMutableRawPointer)
|
|
1645
|
+
@objc public func vertexAttrib3fv(_ index: Swift.UInt32, _ value: Swift.UnsafeMutableRawPointer, offset: Swift.Int)
|
|
1593
1646
|
@objc public func vertexAttrib4fv(_ index: Swift.UInt32, _ value: Swift.UnsafeMutableRawPointer)
|
|
1647
|
+
@objc public func vertexAttrib4fv(_ index: Swift.UInt32, _ value: Swift.UnsafeMutableRawPointer, offset: Swift.Int)
|
|
1594
1648
|
@objc public func vertexAttribPointer(_ index: Swift.UInt32, _ size: Swift.Int32, _ type: Swift.UInt32, _ normalized: Swift.Bool, _ stride: Swift.Int32, _ offset: Swift.Int)
|
|
1595
1649
|
@objc public func viewport(_ x: Swift.Int32, _ y: Swift.Int32, _ width: Swift.Int32, _ height: Swift.Int32)
|
|
1596
1650
|
@objc public var DEPTH_BUFFER_BIT: Swift.UInt32 {
|
|
@@ -2481,7 +2535,6 @@ extension RangeReplaceableCollection {
|
|
|
2481
2535
|
@objc public var UNPACK_PREMULTIPLY_ALPHA_WEBGL: Swift.UInt32 {
|
|
2482
2536
|
@objc get
|
|
2483
2537
|
}
|
|
2484
|
-
@objc override dynamic public init()
|
|
2485
2538
|
@objc deinit
|
|
2486
2539
|
}
|
|
2487
2540
|
@_hasMissingDesignatedInitializers @objcMembers @objc(TNSImageBitmap) public class TNSImageBitmap : ObjectiveC.NSObject {
|
|
@@ -2517,7 +2570,6 @@ extension RangeReplaceableCollection {
|
|
|
2517
2570
|
@objc get
|
|
2518
2571
|
}
|
|
2519
2572
|
@objc deinit
|
|
2520
|
-
@objc override dynamic public init()
|
|
2521
2573
|
}
|
|
2522
2574
|
@_inheritsConvenienceInitializers @objcMembers @objc(TNS_OES_fbo_render_mipmap) public class TNS_OES_fbo_render_mipmap : ObjectiveC.NSObject {
|
|
2523
2575
|
@objc override dynamic public init()
|
|
@@ -2538,7 +2590,7 @@ extension RangeReplaceableCollection {
|
|
|
2538
2590
|
@objc public static func createTextureCache(_ context: CanvasNative.TNSWebGLRenderingContext) -> CoreVideo.CVOpenGLESTextureCache?
|
|
2539
2591
|
@objc public static func createImage(_ texturecache: CoreVideo.CVOpenGLESTextureCache, _ buffer: CoreVideo.CVImageBuffer, _ textureAttributes: CoreFoundation.CFDictionary?, _ target: OpenGLES.GLenum, _ internalFormat: OpenGLES.GLint, _ width: OpenGLES.GLsizei, _ height: OpenGLES.GLsizei, _ format: OpenGLES.GLenum, _ type: OpenGLES.GLenum, _ planeIndex: Swift.Int) -> CoreVideo.CVOpenGLESTexture?
|
|
2540
2592
|
@objc public static func setupRender() -> CanvasNative.TNSRender
|
|
2541
|
-
@objc public static func drawFrame(_ player: AVFoundation.AVPlayer, _ output: AVFoundation.AVPlayerItemVideoOutput, _ videoSize:
|
|
2593
|
+
@objc public static func drawFrame(_ player: AVFoundation.AVPlayer, _ output: AVFoundation.AVPlayerItemVideoOutput, _ videoSize: CoreFoundation.CGSize, _ render: CanvasNative.TNSRender, _ internalFormat: Swift.Int32, _ format: Swift.Int32, _ flipYWebGL: Swift.Bool)
|
|
2542
2594
|
@objc override dynamic public init()
|
|
2543
2595
|
@objc deinit
|
|
2544
2596
|
}
|
|
@@ -2553,7 +2605,6 @@ extension RangeReplaceableCollection {
|
|
|
2553
2605
|
@objc get
|
|
2554
2606
|
}
|
|
2555
2607
|
@objc public init(rangeMin: Swift.Int32, rangeMax: Swift.Int32, precision: Swift.Int32)
|
|
2556
|
-
@objc override dynamic public init()
|
|
2557
2608
|
@objc deinit
|
|
2558
2609
|
}
|
|
2559
2610
|
@_inheritsConvenienceInitializers @objcMembers @objc(TNS_OES_texture_half_float_linear) public class TNS_OES_texture_half_float_linear : ObjectiveC.NSObject {
|
|
@@ -2584,79 +2635,81 @@ extension RangeReplaceableCollection {
|
|
|
2584
2635
|
@objc public init(_ canvas: CanvasNative.TNSCanvas)
|
|
2585
2636
|
@objc public var font: Swift.String {
|
|
2586
2637
|
@objc get
|
|
2587
|
-
@objc set
|
|
2638
|
+
@objc set
|
|
2588
2639
|
}
|
|
2589
2640
|
@objc public var filter: Swift.String {
|
|
2590
2641
|
@objc get
|
|
2591
|
-
@objc set
|
|
2642
|
+
@objc set
|
|
2592
2643
|
}
|
|
2593
2644
|
@objc public var globalAlpha: Swift.Float {
|
|
2594
2645
|
@objc get
|
|
2595
|
-
@objc set
|
|
2646
|
+
@objc set
|
|
2596
2647
|
}
|
|
2597
2648
|
@objc public var globalCompositeOperation: CanvasNative.TNSCompositeOperationType {
|
|
2598
2649
|
@objc get
|
|
2599
|
-
@objc set
|
|
2650
|
+
@objc set
|
|
2600
2651
|
}
|
|
2601
2652
|
@objc public var imageSmoothingEnabled: Swift.Bool {
|
|
2602
2653
|
@objc get
|
|
2603
|
-
@objc set
|
|
2654
|
+
@objc set
|
|
2604
2655
|
}
|
|
2605
2656
|
@objc public var imageSmoothingQuality: CanvasNative.TNSImageSmoothingQuality {
|
|
2606
2657
|
@objc get
|
|
2607
|
-
@objc set
|
|
2658
|
+
@objc set
|
|
2608
2659
|
}
|
|
2609
2660
|
@objc public var lineCap: CanvasNative.TNSLineCap {
|
|
2610
2661
|
@objc get
|
|
2611
|
-
@objc set
|
|
2662
|
+
@objc set
|
|
2612
2663
|
}
|
|
2613
2664
|
@objc public var lineDashOffset: Swift.Float {
|
|
2614
2665
|
@objc get
|
|
2615
|
-
@objc set
|
|
2666
|
+
@objc set
|
|
2616
2667
|
}
|
|
2617
2668
|
@objc public var lineWidth: Swift.Float {
|
|
2618
2669
|
@objc get
|
|
2619
|
-
@objc set
|
|
2670
|
+
@objc set
|
|
2620
2671
|
}
|
|
2621
2672
|
@objc public var lineJoin: CanvasNative.TNSLineJoin {
|
|
2622
2673
|
@objc get
|
|
2623
|
-
@objc set
|
|
2674
|
+
@objc set
|
|
2624
2675
|
}
|
|
2625
2676
|
@objc public var miterLimit: Swift.Float {
|
|
2626
2677
|
@objc get
|
|
2627
|
-
@objc set
|
|
2678
|
+
@objc set
|
|
2628
2679
|
}
|
|
2629
2680
|
@objc public var shadowBlur: Swift.Float {
|
|
2630
2681
|
@objc get
|
|
2631
|
-
@objc set
|
|
2682
|
+
@objc set
|
|
2632
2683
|
}
|
|
2633
2684
|
@objc public var shadowColor: Swift.String {
|
|
2634
2685
|
@objc get
|
|
2635
|
-
@objc set
|
|
2686
|
+
@objc set
|
|
2636
2687
|
}
|
|
2637
2688
|
@objc public var shadowOffsetX: Swift.Float {
|
|
2638
2689
|
@objc get
|
|
2639
|
-
@objc set
|
|
2690
|
+
@objc set
|
|
2640
2691
|
}
|
|
2641
2692
|
@objc public var shadowOffsetY: Swift.Float {
|
|
2642
2693
|
@objc get
|
|
2643
|
-
@objc set
|
|
2694
|
+
@objc set
|
|
2644
2695
|
}
|
|
2645
2696
|
@objc public var textAlign: CanvasNative.TNSTextAlignment {
|
|
2646
2697
|
@objc get
|
|
2647
|
-
@objc set
|
|
2698
|
+
@objc set
|
|
2648
2699
|
}
|
|
2649
2700
|
@objc public var textBaseline: CanvasNative.TNSTextBaseLine {
|
|
2650
2701
|
@objc get
|
|
2651
|
-
@objc set
|
|
2702
|
+
@objc set
|
|
2652
2703
|
}
|
|
2704
|
+
@objc public func setFillStyleWithString(_ color: Swift.String)
|
|
2653
2705
|
@objc public var fillStyle: CanvasNative.ICanvasColorStyle {
|
|
2654
2706
|
@objc get
|
|
2655
|
-
@objc set
|
|
2707
|
+
@objc set
|
|
2656
2708
|
}
|
|
2709
|
+
@objc public func setStrokeStyleWithString(_ color: Swift.String)
|
|
2657
2710
|
@objc public var strokeStyle: CanvasNative.ICanvasColorStyle {
|
|
2658
2711
|
@objc get
|
|
2659
|
-
@objc set
|
|
2712
|
+
@objc set
|
|
2660
2713
|
}
|
|
2661
2714
|
@objc public func fillRect(_ x: Swift.Float, _ y: Swift.Float, _ width: Swift.Float, _ height: Swift.Float)
|
|
2662
2715
|
@objc public func strokeRect(_ x: Swift.Float, _ y: Swift.Float, _ width: Swift.Float, _ height: Swift.Float)
|
|
@@ -2665,6 +2718,9 @@ extension RangeReplaceableCollection {
|
|
|
2665
2718
|
@objc public func strokeText(_ text: Swift.String, _ x: Swift.Float, _ y: Swift.Float)
|
|
2666
2719
|
@objc public func strokeText(_ text: Swift.String, _ x: Swift.Float, _ y: Swift.Float, _ width: Swift.Float)
|
|
2667
2720
|
@objc public func rect(_ x: Swift.Float, _ y: Swift.Float, _ width: Swift.Float, _ height: Swift.Float)
|
|
2721
|
+
@objc public func roundRect(x: Swift.Float, y: Swift.Float, width: Swift.Float, height: Swift.Float, topLeft: Swift.Float, topRight: Swift.Float, bottomRight: Swift.Float, bottomLeft: Swift.Float)
|
|
2722
|
+
@objc public func roundRect(x: Swift.Float, y: Swift.Float, width: Swift.Float, height: Swift.Float, radii: Swift.Float)
|
|
2723
|
+
@objc public func roundRect(_ x: Swift.Float, _ y: Swift.Float, _ width: Swift.Float, _ height: Swift.Float, _ radii: [Swift.Float])
|
|
2668
2724
|
@objc public func fill()
|
|
2669
2725
|
@objc public func fill(value: Any)
|
|
2670
2726
|
@objc public func fill(_ path: CanvasNative.TNSPath2D, _ rule: CanvasNative.TNSFillRule)
|
|
@@ -2688,6 +2744,7 @@ extension RangeReplaceableCollection {
|
|
|
2688
2744
|
@objc public func getCanvas() -> CanvasNative.TNSCanvas
|
|
2689
2745
|
@objc public func createLinearGradient(_ x0: Swift.Float, _ y0: Swift.Float, _ x1: Swift.Float, _ y1: Swift.Float) -> CanvasNative.TNSColorStyle.TNSLinearGradient
|
|
2690
2746
|
@objc public func createRadialGradient(_ x0: Swift.Float, _ y0: Swift.Float, _ r0: Swift.Float, _ x1: Swift.Float, _ y1: Swift.Float, _ r1: Swift.Float) -> CanvasNative.TNSColorStyle.TNSRadialGradient
|
|
2747
|
+
@objc public func createConicGradient(_ startAngle: Swift.Float, _ x: Swift.Float, _ y: Swift.Float) -> CanvasNative.TNSColorStyle.TNSConicGradient
|
|
2691
2748
|
@objc public func createPattern(_ value: Any, _ repetition: CanvasNative.TNSPatternRepetition) -> Any?
|
|
2692
2749
|
@objc public func setTransform(_ a: Swift.Float, _ b: Swift.Float, _ c: Swift.Float, _ d: Swift.Float, _ e: Swift.Float, _ f: Swift.Float)
|
|
2693
2750
|
@objc public func scale(_ x: Swift.Float, _ y: Swift.Float)
|
|
@@ -2713,14 +2770,12 @@ extension RangeReplaceableCollection {
|
|
|
2713
2770
|
@objc public func isPointInPath(_ path: CanvasNative.TNSPath2D, _ x: Swift.Float, _ y: Swift.Float, _ fillRule: CanvasNative.TNSFillRule) -> Swift.Bool
|
|
2714
2771
|
@objc public func isPointInStroke(_ x: Swift.Float, _ y: Swift.Float) -> Swift.Bool
|
|
2715
2772
|
@objc public func isPointInStroke(_ path: CanvasNative.TNSPath2D, _ x: Swift.Float, _ y: Swift.Float) -> Swift.Bool
|
|
2716
|
-
@objc override dynamic public init()
|
|
2717
2773
|
@objc deinit
|
|
2718
2774
|
}
|
|
2719
2775
|
@objcMembers @objc(TNS_WEBGL_lose_context) public class TNS_WEBGL_lose_context : ObjectiveC.NSObject {
|
|
2720
2776
|
@objc public init(canvas: CanvasNative.TNSCanvas)
|
|
2721
2777
|
@objc public func loseContext()
|
|
2722
2778
|
@objc public func restoreContext()
|
|
2723
|
-
@objc override dynamic public init()
|
|
2724
2779
|
@objc deinit
|
|
2725
2780
|
}
|
|
2726
2781
|
@_inheritsConvenienceInitializers @objcMembers @objc(TNS_WEBGL_compressed_texture_etc) public class TNS_WEBGL_compressed_texture_etc : ObjectiveC.NSObject {
|
|
@@ -2787,19 +2842,18 @@ extension RangeReplaceableCollection {
|
|
|
2787
2842
|
public init?(rawValue: CanvasNative.TNSTextBaseLine.RawValue)
|
|
2788
2843
|
public init?(string: Swift.String)
|
|
2789
2844
|
}
|
|
2790
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(CanvasGLKView) public class CanvasGLKView : GLKit.GLKView {
|
|
2791
|
-
@objc dynamic public init()
|
|
2792
|
-
@objc override dynamic public init(frame:
|
|
2793
|
-
@objc override dynamic public func setNeedsDisplay()
|
|
2794
|
-
@objc override dynamic public func setNeedsDisplay(_ rect:
|
|
2795
|
-
@objc override dynamic public init(frame: CoreGraphics.CGRect, context: OpenGLES.EAGLContext)
|
|
2845
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(CanvasGLKView) @_Concurrency.MainActor(unsafe) public class CanvasGLKView : GLKit.GLKView {
|
|
2846
|
+
@_Concurrency.MainActor(unsafe) @objc dynamic public init()
|
|
2847
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
2848
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func setNeedsDisplay()
|
|
2849
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func setNeedsDisplay(_ rect: CoreFoundation.CGRect)
|
|
2796
2850
|
@objc deinit
|
|
2797
2851
|
}
|
|
2798
|
-
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(CanvasCPUView) public class CanvasCPUView : UIKit.UIView {
|
|
2799
|
-
@objc public var ignorePixelScaling: Swift.Bool
|
|
2800
|
-
@objc dynamic public init()
|
|
2801
|
-
@objc override dynamic public init(frame:
|
|
2802
|
-
@objc override dynamic public func draw(_ rect:
|
|
2852
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(CanvasCPUView) @_Concurrency.MainActor(unsafe) public class CanvasCPUView : UIKit.UIView {
|
|
2853
|
+
@objc @_Concurrency.MainActor(unsafe) public var ignorePixelScaling: Swift.Bool
|
|
2854
|
+
@_Concurrency.MainActor(unsafe) @objc dynamic public init()
|
|
2855
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
2856
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
2803
2857
|
@objc deinit
|
|
2804
2858
|
}
|
|
2805
2859
|
public protocol RenderListener {
|
|
@@ -2818,9 +2872,9 @@ public enum ContextType : Swift.Int, Swift.RawRepresentable {
|
|
|
2818
2872
|
@objc public class GLRenderer : ObjectiveC.NSObject, GLKit.GLKViewDelegate {
|
|
2819
2873
|
public var attributes: Foundation.NSDictionary
|
|
2820
2874
|
public func updateDirection(_ direction: Swift.String)
|
|
2821
|
-
public var
|
|
2875
|
+
public var invalidateState: Swift.Int {
|
|
2822
2876
|
get
|
|
2823
|
-
set
|
|
2877
|
+
set
|
|
2824
2878
|
}
|
|
2825
2879
|
public var context: Swift.Int64
|
|
2826
2880
|
public var view: UIKit.UIView {
|
|
@@ -2844,7 +2898,7 @@ public enum ContextType : Swift.Int, Swift.RawRepresentable {
|
|
|
2844
2898
|
public func setRenderListener(listener: CanvasNative.RenderListener?)
|
|
2845
2899
|
public var isOpaque: Swift.Bool {
|
|
2846
2900
|
get
|
|
2847
|
-
set
|
|
2901
|
+
set
|
|
2848
2902
|
}
|
|
2849
2903
|
@objc deinit
|
|
2850
2904
|
@discardableResult
|
|
@@ -2857,8 +2911,7 @@ public enum ContextType : Swift.Int, Swift.RawRepresentable {
|
|
|
2857
2911
|
public func ensureIsReady()
|
|
2858
2912
|
public func pause()
|
|
2859
2913
|
public func resume()
|
|
2860
|
-
@objc public func glkView(_ view: GLKit.GLKView, drawIn rect:
|
|
2861
|
-
@objc override dynamic public init()
|
|
2914
|
+
@objc public func glkView(_ view: GLKit.GLKView, drawIn rect: CoreFoundation.CGRect)
|
|
2862
2915
|
}
|
|
2863
2916
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(TNSIndexedParameter) public class TNSIndexedParameter : ObjectiveC.NSObject {
|
|
2864
2917
|
@objc deinit
|
|
@@ -3122,13 +3175,11 @@ public enum ContextType : Swift.Int, Swift.RawRepresentable {
|
|
|
3122
3175
|
@objc get
|
|
3123
3176
|
}
|
|
3124
3177
|
@objc public func getStyleType() -> CanvasNative.CanvasColorStyleType
|
|
3125
|
-
@objc override dynamic public init()
|
|
3126
3178
|
@objc deinit
|
|
3127
3179
|
}
|
|
3128
3180
|
@_hasMissingDesignatedInitializers @objcMembers @objc(TNSGradient) public class TNSGradient : ObjectiveC.NSObject, CanvasNative.ICanvasColorStyle {
|
|
3129
3181
|
@objc public func getStyleType() -> CanvasNative.CanvasColorStyleType
|
|
3130
3182
|
@objc public func addColorStop(_ offset: Swift.Float, _ color: Swift.String)
|
|
3131
|
-
@objc override dynamic public init()
|
|
3132
3183
|
@objc deinit
|
|
3133
3184
|
}
|
|
3134
3185
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(TNSLinearGradient) public class TNSLinearGradient : CanvasNative.TNSColorStyle.TNSGradient {
|
|
@@ -3137,11 +3188,13 @@ public enum ContextType : Swift.Int, Swift.RawRepresentable {
|
|
|
3137
3188
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(TNSRadialGradient) public class TNSRadialGradient : CanvasNative.TNSColorStyle.TNSGradient {
|
|
3138
3189
|
@objc deinit
|
|
3139
3190
|
}
|
|
3191
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(TNSConicGradient) public class TNSConicGradient : CanvasNative.TNSColorStyle.TNSGradient {
|
|
3192
|
+
@objc deinit
|
|
3193
|
+
}
|
|
3140
3194
|
@_hasMissingDesignatedInitializers @objcMembers @objc(TNSPattern) public class TNSPattern : ObjectiveC.NSObject, CanvasNative.ICanvasColorStyle {
|
|
3141
3195
|
@objc public func setTransform(matrix: CanvasNative.TNSDOMMatrix)
|
|
3142
3196
|
@objc deinit
|
|
3143
3197
|
@objc public func getStyleType() -> CanvasNative.CanvasColorStyleType
|
|
3144
|
-
@objc override dynamic public init()
|
|
3145
3198
|
}
|
|
3146
3199
|
@objc override dynamic public init()
|
|
3147
3200
|
@objc deinit
|
|
@@ -3184,5 +3237,34 @@ public enum ContextType : Swift.Int, Swift.RawRepresentable {
|
|
|
3184
3237
|
@objc public var ideographicBaseline: Swift.Float {
|
|
3185
3238
|
@objc get
|
|
3186
3239
|
}
|
|
3187
|
-
@objc override dynamic public init()
|
|
3188
3240
|
}
|
|
3241
|
+
extension CanvasNative.TNSTextAlignment : Swift.Equatable {}
|
|
3242
|
+
extension CanvasNative.TNSTextAlignment : Swift.Hashable {}
|
|
3243
|
+
extension CanvasNative.TNSFillRule : Swift.Equatable {}
|
|
3244
|
+
extension CanvasNative.TNSFillRule : Swift.Hashable {}
|
|
3245
|
+
extension CanvasNative.TNSTextDirection : Swift.Equatable {}
|
|
3246
|
+
extension CanvasNative.TNSTextDirection : Swift.Hashable {}
|
|
3247
|
+
extension CanvasNative.TNSImageBitmapPremultiplyAlpha : Swift.Equatable {}
|
|
3248
|
+
extension CanvasNative.TNSImageBitmapPremultiplyAlpha : Swift.Hashable {}
|
|
3249
|
+
extension CanvasNative.TNSLineJoin : Swift.Equatable {}
|
|
3250
|
+
extension CanvasNative.TNSLineJoin : Swift.Hashable {}
|
|
3251
|
+
extension CanvasNative.TNSLineCap : Swift.Equatable {}
|
|
3252
|
+
extension CanvasNative.TNSLineCap : Swift.Hashable {}
|
|
3253
|
+
extension CanvasNative.TNSImageSmoothingQuality : Swift.Equatable {}
|
|
3254
|
+
extension CanvasNative.TNSImageSmoothingQuality : Swift.Hashable {}
|
|
3255
|
+
extension CanvasNative.TNSImageAssetFormat : Swift.Equatable {}
|
|
3256
|
+
extension CanvasNative.TNSImageAssetFormat : Swift.Hashable {}
|
|
3257
|
+
extension CanvasNative.TNSTextBaseLine : Swift.Equatable {}
|
|
3258
|
+
extension CanvasNative.TNSTextBaseLine : Swift.Hashable {}
|
|
3259
|
+
extension CanvasNative.ContextType : Swift.Equatable {}
|
|
3260
|
+
extension CanvasNative.ContextType : Swift.Hashable {}
|
|
3261
|
+
extension CanvasNative.TNSCompositeOperationType : Swift.Equatable {}
|
|
3262
|
+
extension CanvasNative.TNSCompositeOperationType : Swift.Hashable {}
|
|
3263
|
+
extension CanvasNative.TNSImageBitmapColorSpaceConversion : Swift.Equatable {}
|
|
3264
|
+
extension CanvasNative.TNSImageBitmapColorSpaceConversion : Swift.Hashable {}
|
|
3265
|
+
extension CanvasNative.TNSImageBitmapResizeQuality : Swift.Equatable {}
|
|
3266
|
+
extension CanvasNative.TNSImageBitmapResizeQuality : Swift.Hashable {}
|
|
3267
|
+
extension CanvasNative.CanvasColorStyleType : Swift.Equatable {}
|
|
3268
|
+
extension CanvasNative.CanvasColorStyleType : Swift.Hashable {}
|
|
3269
|
+
extension CanvasNative.TNSPatternRepetition : Swift.Equatable {}
|
|
3270
|
+
extension CanvasNative.TNSPatternRepetition : Swift.Hashable {}
|