@shopify/react-native-skia 0.1.241 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +9 -7
- package/src/renderer/Offscreen.tsx +2 -2
- package/lib/commonjs/Platform/IPlatform.d.ts +0 -10
- package/lib/commonjs/Platform/IPlatform.js +0 -6
- package/lib/commonjs/Platform/IPlatform.js.map +0 -1
- package/lib/commonjs/Platform/Platform.d.ts +0 -2
- package/lib/commonjs/Platform/Platform.js +0 -18
- package/lib/commonjs/Platform/Platform.js.map +0 -1
- package/lib/commonjs/Platform/Platform.web.d.ts +0 -2
- package/lib/commonjs/Platform/Platform.web.js +0 -144
- package/lib/commonjs/Platform/Platform.web.js.map +0 -1
- package/lib/commonjs/Platform/index.d.ts +0 -1
- package/lib/commonjs/Platform/index.js +0 -17
- package/lib/commonjs/Platform/index.js.map +0 -1
- package/lib/commonjs/animation/functions/index.d.ts +0 -4
- package/lib/commonjs/animation/functions/index.js +0 -50
- package/lib/commonjs/animation/functions/index.js.map +0 -1
- package/lib/commonjs/animation/functions/interpolate.d.ts +0 -17
- package/lib/commonjs/animation/functions/interpolate.js +0 -132
- package/lib/commonjs/animation/functions/interpolate.js.map +0 -1
- package/lib/commonjs/animation/functions/interpolateColors.d.ts +0 -3
- package/lib/commonjs/animation/functions/interpolateColors.js +0 -35
- package/lib/commonjs/animation/functions/interpolateColors.js.map +0 -1
- package/lib/commonjs/animation/functions/interpolatePaths.d.ts +0 -19
- package/lib/commonjs/animation/functions/interpolatePaths.js +0 -68
- package/lib/commonjs/animation/functions/interpolatePaths.js.map +0 -1
- package/lib/commonjs/animation/functions/interpolateVector.d.ts +0 -10
- package/lib/commonjs/animation/functions/interpolateVector.js +0 -23
- package/lib/commonjs/animation/functions/interpolateVector.js.map +0 -1
- package/lib/commonjs/animation/index.d.ts +0 -1
- package/lib/commonjs/animation/index.js +0 -17
- package/lib/commonjs/animation/index.js.map +0 -1
- package/lib/commonjs/dom/nodes/DrawingNode.d.ts +0 -14
- package/lib/commonjs/dom/nodes/DrawingNode.js +0 -69
- package/lib/commonjs/dom/nodes/DrawingNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/GroupNode.d.ts +0 -7
- package/lib/commonjs/dom/nodes/GroupNode.js +0 -22
- package/lib/commonjs/dom/nodes/GroupNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/JsiSkDOM.d.ts +0 -68
- package/lib/commonjs/dom/nodes/JsiSkDOM.js +0 -208
- package/lib/commonjs/dom/nodes/JsiSkDOM.js.map +0 -1
- package/lib/commonjs/dom/nodes/LayerNode.d.ts +0 -8
- package/lib/commonjs/dom/nodes/LayerNode.js +0 -39
- package/lib/commonjs/dom/nodes/LayerNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/Node.d.ts +0 -35
- package/lib/commonjs/dom/nodes/Node.js +0 -103
- package/lib/commonjs/dom/nodes/Node.js.map +0 -1
- package/lib/commonjs/dom/nodes/PaintNode.d.ts +0 -8
- package/lib/commonjs/dom/nodes/PaintNode.js +0 -90
- package/lib/commonjs/dom/nodes/PaintNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/RenderNode.d.ts +0 -26
- package/lib/commonjs/dom/nodes/RenderNode.js +0 -132
- package/lib/commonjs/dom/nodes/RenderNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/datatypes/Circle.d.ts +0 -7
- package/lib/commonjs/dom/nodes/datatypes/Circle.js +0 -29
- package/lib/commonjs/dom/nodes/datatypes/Circle.js.map +0 -1
- package/lib/commonjs/dom/nodes/datatypes/Enum.d.ts +0 -1
- package/lib/commonjs/dom/nodes/datatypes/Enum.js +0 -9
- package/lib/commonjs/dom/nodes/datatypes/Enum.js.map +0 -1
- package/lib/commonjs/dom/nodes/datatypes/Fitting.d.ts +0 -33
- package/lib/commonjs/dom/nodes/datatypes/Fitting.js +0 -129
- package/lib/commonjs/dom/nodes/datatypes/Fitting.js.map +0 -1
- package/lib/commonjs/dom/nodes/datatypes/Gradient.d.ts +0 -252
- package/lib/commonjs/dom/nodes/datatypes/Gradient.js +0 -54
- package/lib/commonjs/dom/nodes/datatypes/Gradient.js.map +0 -1
- package/lib/commonjs/dom/nodes/datatypes/Path.d.ts +0 -4
- package/lib/commonjs/dom/nodes/datatypes/Path.js +0 -20
- package/lib/commonjs/dom/nodes/datatypes/Path.js.map +0 -1
- package/lib/commonjs/dom/nodes/datatypes/Radius.d.ts +0 -3
- package/lib/commonjs/dom/nodes/datatypes/Radius.js +0 -14
- package/lib/commonjs/dom/nodes/datatypes/Radius.js.map +0 -1
- package/lib/commonjs/dom/nodes/datatypes/Rect.d.ts +0 -5
- package/lib/commonjs/dom/nodes/datatypes/Rect.js +0 -40
- package/lib/commonjs/dom/nodes/datatypes/Rect.js.map +0 -1
- package/lib/commonjs/dom/nodes/datatypes/Transform.d.ts +0 -3
- package/lib/commonjs/dom/nodes/datatypes/Transform.js +0 -33
- package/lib/commonjs/dom/nodes/datatypes/Transform.js.map +0 -1
- package/lib/commonjs/dom/nodes/datatypes/index.d.ts +0 -8
- package/lib/commonjs/dom/nodes/datatypes/index.js +0 -94
- package/lib/commonjs/dom/nodes/datatypes/index.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/AtlasNode.d.ts +0 -8
- package/lib/commonjs/dom/nodes/drawings/AtlasNode.js +0 -36
- package/lib/commonjs/dom/nodes/drawings/AtlasNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.d.ts +0 -8
- package/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.js +0 -42
- package/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/Box.d.ts +0 -15
- package/lib/commonjs/dom/nodes/drawings/Box.js +0 -82
- package/lib/commonjs/dom/nodes/drawings/Box.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/CircleNode.d.ts +0 -9
- package/lib/commonjs/dom/nodes/drawings/CircleNode.js +0 -32
- package/lib/commonjs/dom/nodes/drawings/CircleNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/DiffRectNode.d.ts +0 -8
- package/lib/commonjs/dom/nodes/drawings/DiffRectNode.js +0 -28
- package/lib/commonjs/dom/nodes/drawings/DiffRectNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/FillNode.d.ts +0 -8
- package/lib/commonjs/dom/nodes/drawings/FillNode.js +0 -24
- package/lib/commonjs/dom/nodes/drawings/FillNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/ImageNode.d.ts +0 -25
- package/lib/commonjs/dom/nodes/drawings/ImageNode.js +0 -71
- package/lib/commonjs/dom/nodes/drawings/ImageNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/ImageSVG.d.ts +0 -13
- package/lib/commonjs/dom/nodes/drawings/ImageSVG.js +0 -57
- package/lib/commonjs/dom/nodes/drawings/ImageSVG.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/LineNode.d.ts +0 -8
- package/lib/commonjs/dom/nodes/drawings/LineNode.js +0 -28
- package/lib/commonjs/dom/nodes/drawings/LineNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/OvalNode.d.ts +0 -9
- package/lib/commonjs/dom/nodes/drawings/OvalNode.js +0 -28
- package/lib/commonjs/dom/nodes/drawings/OvalNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/ParagraphNode.d.ts +0 -8
- package/lib/commonjs/dom/nodes/drawings/ParagraphNode.js +0 -32
- package/lib/commonjs/dom/nodes/drawings/ParagraphNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/PatchNode.d.ts +0 -18
- package/lib/commonjs/dom/nodes/drawings/PatchNode.js +0 -53
- package/lib/commonjs/dom/nodes/drawings/PatchNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/PathNode.d.ts +0 -9
- package/lib/commonjs/dom/nodes/drawings/PathNode.js +0 -55
- package/lib/commonjs/dom/nodes/drawings/PathNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/PictureNode.d.ts +0 -8
- package/lib/commonjs/dom/nodes/drawings/PictureNode.js +0 -26
- package/lib/commonjs/dom/nodes/drawings/PictureNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/PointsNode.d.ts +0 -8
- package/lib/commonjs/dom/nodes/drawings/PointsNode.js +0 -30
- package/lib/commonjs/dom/nodes/drawings/PointsNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/RRectNode.d.ts +0 -10
- package/lib/commonjs/dom/nodes/drawings/RRectNode.js +0 -32
- package/lib/commonjs/dom/nodes/drawings/RRectNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/RectNode.d.ts +0 -9
- package/lib/commonjs/dom/nodes/drawings/RectNode.js +0 -28
- package/lib/commonjs/dom/nodes/drawings/RectNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/Text.d.ts +0 -30
- package/lib/commonjs/dom/nodes/drawings/Text.js +0 -159
- package/lib/commonjs/dom/nodes/drawings/Text.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/VerticesNode.d.ts +0 -9
- package/lib/commonjs/dom/nodes/drawings/VerticesNode.js +0 -43
- package/lib/commonjs/dom/nodes/drawings/VerticesNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/drawings/index.d.ts +0 -18
- package/lib/commonjs/dom/nodes/drawings/index.js +0 -204
- package/lib/commonjs/dom/nodes/drawings/index.js.map +0 -1
- package/lib/commonjs/dom/nodes/index.d.ts +0 -3
- package/lib/commonjs/dom/nodes/index.js +0 -39
- package/lib/commonjs/dom/nodes/index.js.map +0 -1
- package/lib/commonjs/dom/nodes/paint/BlendNode.d.ts +0 -8
- package/lib/commonjs/dom/nodes/paint/BlendNode.js +0 -37
- package/lib/commonjs/dom/nodes/paint/BlendNode.js.map +0 -1
- package/lib/commonjs/dom/nodes/paint/ColorFilters.d.ts +0 -35
- package/lib/commonjs/dom/nodes/paint/ColorFilters.js +0 -102
- package/lib/commonjs/dom/nodes/paint/ColorFilters.js.map +0 -1
- package/lib/commonjs/dom/nodes/paint/ImageFilters.d.ts +0 -42
- package/lib/commonjs/dom/nodes/paint/ImageFilters.js +0 -183
- package/lib/commonjs/dom/nodes/paint/ImageFilters.js.map +0 -1
- package/lib/commonjs/dom/nodes/paint/MaskFilters.d.ts +0 -8
- package/lib/commonjs/dom/nodes/paint/MaskFilters.js +0 -26
- package/lib/commonjs/dom/nodes/paint/MaskFilters.js.map +0 -1
- package/lib/commonjs/dom/nodes/paint/PathEffects.d.ts +0 -39
- package/lib/commonjs/dom/nodes/paint/PathEffects.js +0 -136
- package/lib/commonjs/dom/nodes/paint/PathEffects.js.map +0 -1
- package/lib/commonjs/dom/nodes/paint/Shaders.d.ts +0 -43
- package/lib/commonjs/dom/nodes/paint/Shaders.js +0 -209
- package/lib/commonjs/dom/nodes/paint/Shaders.js.map +0 -1
- package/lib/commonjs/dom/nodes/paint/index.d.ts +0 -6
- package/lib/commonjs/dom/nodes/paint/index.js +0 -72
- package/lib/commonjs/dom/nodes/paint/index.js.map +0 -1
- package/lib/commonjs/dom/types/ColorFilters.d.ts +0 -12
- package/lib/commonjs/dom/types/ColorFilters.js +0 -6
- package/lib/commonjs/dom/types/ColorFilters.js.map +0 -1
- package/lib/commonjs/dom/types/Common.d.ts +0 -57
- package/lib/commonjs/dom/types/Common.js +0 -6
- package/lib/commonjs/dom/types/Common.js.map +0 -1
- package/lib/commonjs/dom/types/DeclarationContext.d.ts +0 -29
- package/lib/commonjs/dom/types/DeclarationContext.js +0 -91
- package/lib/commonjs/dom/types/DeclarationContext.js.map +0 -1
- package/lib/commonjs/dom/types/DrawingContext.d.ts +0 -22
- package/lib/commonjs/dom/types/DrawingContext.js +0 -263
- package/lib/commonjs/dom/types/DrawingContext.js.map +0 -1
- package/lib/commonjs/dom/types/Drawings.d.ts +0 -111
- package/lib/commonjs/dom/types/Drawings.js +0 -6
- package/lib/commonjs/dom/types/Drawings.js.map +0 -1
- package/lib/commonjs/dom/types/ImageFilters.d.ts +0 -37
- package/lib/commonjs/dom/types/ImageFilters.js +0 -6
- package/lib/commonjs/dom/types/ImageFilters.js.map +0 -1
- package/lib/commonjs/dom/types/MaskFilters.d.ts +0 -7
- package/lib/commonjs/dom/types/MaskFilters.js +0 -6
- package/lib/commonjs/dom/types/MaskFilters.js.map +0 -1
- package/lib/commonjs/dom/types/Node.d.ts +0 -23
- package/lib/commonjs/dom/types/Node.js +0 -6
- package/lib/commonjs/dom/types/Node.js.map +0 -1
- package/lib/commonjs/dom/types/NodeType.d.ts +0 -68
- package/lib/commonjs/dom/types/NodeType.js +0 -77
- package/lib/commonjs/dom/types/NodeType.js.map +0 -1
- package/lib/commonjs/dom/types/Paragraph.d.ts +0 -8
- package/lib/commonjs/dom/types/Paragraph.js +0 -6
- package/lib/commonjs/dom/types/Paragraph.js.map +0 -1
- package/lib/commonjs/dom/types/PathEffects.d.ts +0 -28
- package/lib/commonjs/dom/types/PathEffects.js +0 -6
- package/lib/commonjs/dom/types/PathEffects.js.map +0 -1
- package/lib/commonjs/dom/types/Shaders.d.ts +0 -59
- package/lib/commonjs/dom/types/Shaders.js +0 -6
- package/lib/commonjs/dom/types/Shaders.js.map +0 -1
- package/lib/commonjs/dom/types/SkDOM.d.ts +0 -73
- package/lib/commonjs/dom/types/SkDOM.js +0 -6
- package/lib/commonjs/dom/types/SkDOM.js.map +0 -1
- package/lib/commonjs/dom/types/index.d.ts +0 -13
- package/lib/commonjs/dom/types/index.js +0 -149
- package/lib/commonjs/dom/types/index.js.map +0 -1
- package/lib/commonjs/external/index.d.ts +0 -1
- package/lib/commonjs/external/index.js +0 -17
- package/lib/commonjs/external/index.js.map +0 -1
- package/lib/commonjs/external/reanimated/buffers.d.ts +0 -7
- package/lib/commonjs/external/reanimated/buffers.js +0 -48
- package/lib/commonjs/external/reanimated/buffers.js.map +0 -1
- package/lib/commonjs/external/reanimated/index.d.ts +0 -6
- package/lib/commonjs/external/reanimated/index.js +0 -72
- package/lib/commonjs/external/reanimated/index.js.map +0 -1
- package/lib/commonjs/external/reanimated/interpolators.d.ts +0 -10
- package/lib/commonjs/external/reanimated/interpolators.js +0 -74
- package/lib/commonjs/external/reanimated/interpolators.js.map +0 -1
- package/lib/commonjs/external/reanimated/moduleWrapper.d.ts +0 -14
- package/lib/commonjs/external/reanimated/moduleWrapper.js +0 -45
- package/lib/commonjs/external/reanimated/moduleWrapper.js.map +0 -1
- package/lib/commonjs/external/reanimated/renderHelpers.d.ts +0 -6
- package/lib/commonjs/external/reanimated/renderHelpers.js +0 -111
- package/lib/commonjs/external/reanimated/renderHelpers.js.map +0 -1
- package/lib/commonjs/external/reanimated/textures.d.ts +0 -8
- package/lib/commonjs/external/reanimated/textures.js +0 -75
- package/lib/commonjs/external/reanimated/textures.js.map +0 -1
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.d.ts +0 -2
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js +0 -55
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js.map +0 -1
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.d.ts +0 -1
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.js +0 -23
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.js.map +0 -1
- package/lib/commonjs/headless/index.d.ts +0 -5
- package/lib/commonjs/headless/index.js +0 -52
- package/lib/commonjs/headless/index.js.map +0 -1
- package/lib/commonjs/index.d.ts +0 -11
- package/lib/commonjs/index.js +0 -125
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/mock/index.d.ts +0 -2
- package/lib/commonjs/mock/index.js +0 -57
- package/lib/commonjs/mock/index.js.map +0 -1
- package/lib/commonjs/renderer/Canvas.d.ts +0 -11
- package/lib/commonjs/renderer/Canvas.js +0 -116
- package/lib/commonjs/renderer/Canvas.js.map +0 -1
- package/lib/commonjs/renderer/Container.d.ts +0 -11
- package/lib/commonjs/renderer/Container.js +0 -30
- package/lib/commonjs/renderer/Container.js.map +0 -1
- package/lib/commonjs/renderer/DrawingContext.d.ts +0 -7
- package/lib/commonjs/renderer/DrawingContext.js +0 -6
- package/lib/commonjs/renderer/DrawingContext.js.map +0 -1
- package/lib/commonjs/renderer/HostComponents.d.ts +0 -132
- package/lib/commonjs/renderer/HostComponents.js +0 -144
- package/lib/commonjs/renderer/HostComponents.js.map +0 -1
- package/lib/commonjs/renderer/HostConfig.d.ts +0 -19
- package/lib/commonjs/renderer/HostConfig.js +0 -149
- package/lib/commonjs/renderer/HostConfig.js.map +0 -1
- package/lib/commonjs/renderer/Offscreen.d.ts +0 -6
- package/lib/commonjs/renderer/Offscreen.js +0 -53
- package/lib/commonjs/renderer/Offscreen.js.map +0 -1
- package/lib/commonjs/renderer/Reconciler.d.ts +0 -10
- package/lib/commonjs/renderer/Reconciler.js +0 -43
- package/lib/commonjs/renderer/Reconciler.js.map +0 -1
- package/lib/commonjs/renderer/components/Blend.d.ts +0 -4
- package/lib/commonjs/renderer/components/Blend.js +0 -13
- package/lib/commonjs/renderer/components/Blend.js.map +0 -1
- package/lib/commonjs/renderer/components/Group.d.ts +0 -8
- package/lib/commonjs/renderer/components/Group.js +0 -23
- package/lib/commonjs/renderer/components/Group.js.map +0 -1
- package/lib/commonjs/renderer/components/Mask.d.ts +0 -10
- package/lib/commonjs/renderer/components/Mask.js +0 -33
- package/lib/commonjs/renderer/components/Mask.js.map +0 -1
- package/lib/commonjs/renderer/components/Paint.d.ts +0 -4
- package/lib/commonjs/renderer/components/Paint.js +0 -13
- package/lib/commonjs/renderer/components/Paint.js.map +0 -1
- package/lib/commonjs/renderer/components/Picture.d.ts +0 -4
- package/lib/commonjs/renderer/components/Picture.js +0 -13
- package/lib/commonjs/renderer/components/Picture.js.map +0 -1
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.d.ts +0 -9
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.js +0 -25
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.js.map +0 -1
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.d.ts +0 -8
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.js +0 -18
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.js.map +0 -1
- package/lib/commonjs/renderer/components/backdrop/index.d.ts +0 -2
- package/lib/commonjs/renderer/components/backdrop/index.js +0 -28
- package/lib/commonjs/renderer/components/backdrop/index.js.map +0 -1
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.d.ts +0 -4
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.js +0 -13
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.js.map +0 -1
- package/lib/commonjs/renderer/components/colorFilters/Lerp.d.ts +0 -4
- package/lib/commonjs/renderer/components/colorFilters/Lerp.js +0 -13
- package/lib/commonjs/renderer/components/colorFilters/Lerp.js.map +0 -1
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +0 -4
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.js +0 -13
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.js.map +0 -1
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.d.ts +0 -4
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.js +0 -13
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.js.map +0 -1
- package/lib/commonjs/renderer/components/colorFilters/Matrix.d.ts +0 -5
- package/lib/commonjs/renderer/components/colorFilters/Matrix.js +0 -15
- package/lib/commonjs/renderer/components/colorFilters/Matrix.js.map +0 -1
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +0 -4
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.js +0 -13
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.js.map +0 -1
- package/lib/commonjs/renderer/components/colorFilters/index.d.ts +0 -6
- package/lib/commonjs/renderer/components/colorFilters/index.js +0 -72
- package/lib/commonjs/renderer/components/colorFilters/index.js.map +0 -1
- package/lib/commonjs/renderer/components/image/Image.d.ts +0 -4
- package/lib/commonjs/renderer/components/image/Image.js +0 -13
- package/lib/commonjs/renderer/components/image/Image.js.map +0 -1
- package/lib/commonjs/renderer/components/image/ImageSVG.d.ts +0 -4
- package/lib/commonjs/renderer/components/image/ImageSVG.js +0 -13
- package/lib/commonjs/renderer/components/image/ImageSVG.js.map +0 -1
- package/lib/commonjs/renderer/components/image/ImageShader.d.ts +0 -4
- package/lib/commonjs/renderer/components/image/ImageShader.js +0 -29
- package/lib/commonjs/renderer/components/image/ImageShader.js.map +0 -1
- package/lib/commonjs/renderer/components/image/index.d.ts +0 -3
- package/lib/commonjs/renderer/components/image/index.js +0 -39
- package/lib/commonjs/renderer/components/image/index.js.map +0 -1
- package/lib/commonjs/renderer/components/imageFilters/Blur.d.ts +0 -4
- package/lib/commonjs/renderer/components/imageFilters/Blur.js +0 -19
- package/lib/commonjs/renderer/components/imageFilters/Blur.js.map +0 -1
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.d.ts +0 -4
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.js +0 -13
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.js.map +0 -1
- package/lib/commonjs/renderer/components/imageFilters/Morphology.d.ts +0 -4
- package/lib/commonjs/renderer/components/imageFilters/Morphology.js +0 -19
- package/lib/commonjs/renderer/components/imageFilters/Morphology.js.map +0 -1
- package/lib/commonjs/renderer/components/imageFilters/Offset.d.ts +0 -4
- package/lib/commonjs/renderer/components/imageFilters/Offset.js +0 -21
- package/lib/commonjs/renderer/components/imageFilters/Offset.js.map +0 -1
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.d.ts +0 -4
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.js +0 -13
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.js.map +0 -1
- package/lib/commonjs/renderer/components/imageFilters/Shadow.d.ts +0 -4
- package/lib/commonjs/renderer/components/imageFilters/Shadow.js +0 -13
- package/lib/commonjs/renderer/components/imageFilters/Shadow.js.map +0 -1
- package/lib/commonjs/renderer/components/imageFilters/index.d.ts +0 -6
- package/lib/commonjs/renderer/components/imageFilters/index.js +0 -72
- package/lib/commonjs/renderer/components/imageFilters/index.js.map +0 -1
- package/lib/commonjs/renderer/components/index.d.ts +0 -16
- package/lib/commonjs/renderer/components/index.js +0 -182
- package/lib/commonjs/renderer/components/index.js.map +0 -1
- package/lib/commonjs/renderer/components/maskFilters/Blur.d.ts +0 -4
- package/lib/commonjs/renderer/components/maskFilters/Blur.js +0 -21
- package/lib/commonjs/renderer/components/maskFilters/Blur.js.map +0 -1
- package/lib/commonjs/renderer/components/maskFilters/index.d.ts +0 -1
- package/lib/commonjs/renderer/components/maskFilters/index.js +0 -17
- package/lib/commonjs/renderer/components/maskFilters/index.js.map +0 -1
- package/lib/commonjs/renderer/components/paragraph/Paragraph.d.ts +0 -4
- package/lib/commonjs/renderer/components/paragraph/Paragraph.js +0 -13
- package/lib/commonjs/renderer/components/paragraph/Paragraph.js.map +0 -1
- package/lib/commonjs/renderer/components/paragraph/index.d.ts +0 -1
- package/lib/commonjs/renderer/components/paragraph/index.js +0 -17
- package/lib/commonjs/renderer/components/paragraph/index.js.map +0 -1
- package/lib/commonjs/renderer/components/pathEffects/Corner.d.ts +0 -4
- package/lib/commonjs/renderer/components/pathEffects/Corner.js +0 -13
- package/lib/commonjs/renderer/components/pathEffects/Corner.js.map +0 -1
- package/lib/commonjs/renderer/components/pathEffects/Dash.d.ts +0 -4
- package/lib/commonjs/renderer/components/pathEffects/Dash.js +0 -13
- package/lib/commonjs/renderer/components/pathEffects/Dash.js.map +0 -1
- package/lib/commonjs/renderer/components/pathEffects/Discrete.d.ts +0 -4
- package/lib/commonjs/renderer/components/pathEffects/Discrete.js +0 -19
- package/lib/commonjs/renderer/components/pathEffects/Discrete.js.map +0 -1
- package/lib/commonjs/renderer/components/pathEffects/Line2D.d.ts +0 -4
- package/lib/commonjs/renderer/components/pathEffects/Line2D.js +0 -13
- package/lib/commonjs/renderer/components/pathEffects/Line2D.js.map +0 -1
- package/lib/commonjs/renderer/components/pathEffects/Path1D.d.ts +0 -4
- package/lib/commonjs/renderer/components/pathEffects/Path1D.js +0 -13
- package/lib/commonjs/renderer/components/pathEffects/Path1D.js.map +0 -1
- package/lib/commonjs/renderer/components/pathEffects/Path2D.d.ts +0 -4
- package/lib/commonjs/renderer/components/pathEffects/Path2D.js +0 -13
- package/lib/commonjs/renderer/components/pathEffects/Path2D.js.map +0 -1
- package/lib/commonjs/renderer/components/pathEffects/Sum.d.ts +0 -3
- package/lib/commonjs/renderer/components/pathEffects/Sum.js +0 -13
- package/lib/commonjs/renderer/components/pathEffects/Sum.js.map +0 -1
- package/lib/commonjs/renderer/components/pathEffects/index.d.ts +0 -7
- package/lib/commonjs/renderer/components/pathEffects/index.js +0 -83
- package/lib/commonjs/renderer/components/pathEffects/index.js.map +0 -1
- package/lib/commonjs/renderer/components/shaders/Color.d.ts +0 -4
- package/lib/commonjs/renderer/components/shaders/Color.js +0 -13
- package/lib/commonjs/renderer/components/shaders/Color.js.map +0 -1
- package/lib/commonjs/renderer/components/shaders/FractalNoise.d.ts +0 -4
- package/lib/commonjs/renderer/components/shaders/FractalNoise.js +0 -23
- package/lib/commonjs/renderer/components/shaders/FractalNoise.js.map +0 -1
- package/lib/commonjs/renderer/components/shaders/LinearGradient.d.ts +0 -4
- package/lib/commonjs/renderer/components/shaders/LinearGradient.js +0 -13
- package/lib/commonjs/renderer/components/shaders/LinearGradient.js.map +0 -1
- package/lib/commonjs/renderer/components/shaders/RadialGradient.d.ts +0 -4
- package/lib/commonjs/renderer/components/shaders/RadialGradient.js +0 -13
- package/lib/commonjs/renderer/components/shaders/RadialGradient.js.map +0 -1
- package/lib/commonjs/renderer/components/shaders/Shader.d.ts +0 -4
- package/lib/commonjs/renderer/components/shaders/Shader.js +0 -19
- package/lib/commonjs/renderer/components/shaders/Shader.js.map +0 -1
- package/lib/commonjs/renderer/components/shaders/ShaderLib.d.ts +0 -4
- package/lib/commonjs/renderer/components/shaders/ShaderLib.js +0 -51
- package/lib/commonjs/renderer/components/shaders/ShaderLib.js.map +0 -1
- package/lib/commonjs/renderer/components/shaders/SweepGradient.d.ts +0 -4
- package/lib/commonjs/renderer/components/shaders/SweepGradient.js +0 -13
- package/lib/commonjs/renderer/components/shaders/SweepGradient.js.map +0 -1
- package/lib/commonjs/renderer/components/shaders/Turbulence.d.ts +0 -4
- package/lib/commonjs/renderer/components/shaders/Turbulence.js +0 -23
- package/lib/commonjs/renderer/components/shaders/Turbulence.js.map +0 -1
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.d.ts +0 -4
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.js +0 -13
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.js.map +0 -1
- package/lib/commonjs/renderer/components/shaders/index.d.ts +0 -9
- package/lib/commonjs/renderer/components/shaders/index.js +0 -105
- package/lib/commonjs/renderer/components/shaders/index.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/Atlas.d.ts +0 -4
- package/lib/commonjs/renderer/components/shapes/Atlas.js +0 -13
- package/lib/commonjs/renderer/components/shapes/Atlas.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/Box.d.ts +0 -5
- package/lib/commonjs/renderer/components/shapes/Box.js +0 -17
- package/lib/commonjs/renderer/components/shapes/Box.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/Circle.d.ts +0 -4
- package/lib/commonjs/renderer/components/shapes/Circle.js +0 -13
- package/lib/commonjs/renderer/components/shapes/Circle.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/DiffRect.d.ts +0 -4
- package/lib/commonjs/renderer/components/shapes/DiffRect.js +0 -13
- package/lib/commonjs/renderer/components/shapes/DiffRect.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/Fill.d.ts +0 -4
- package/lib/commonjs/renderer/components/shapes/Fill.js +0 -13
- package/lib/commonjs/renderer/components/shapes/Fill.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/FitBox.d.ts +0 -21
- package/lib/commonjs/renderer/components/shapes/FitBox.js +0 -29
- package/lib/commonjs/renderer/components/shapes/FitBox.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/Line.d.ts +0 -4
- package/lib/commonjs/renderer/components/shapes/Line.js +0 -13
- package/lib/commonjs/renderer/components/shapes/Line.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/Oval.d.ts +0 -4
- package/lib/commonjs/renderer/components/shapes/Oval.js +0 -13
- package/lib/commonjs/renderer/components/shapes/Oval.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/Patch.d.ts +0 -4
- package/lib/commonjs/renderer/components/shapes/Patch.js +0 -13
- package/lib/commonjs/renderer/components/shapes/Patch.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/Path.d.ts +0 -4
- package/lib/commonjs/renderer/components/shapes/Path.js +0 -21
- package/lib/commonjs/renderer/components/shapes/Path.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/Points.d.ts +0 -4
- package/lib/commonjs/renderer/components/shapes/Points.js +0 -19
- package/lib/commonjs/renderer/components/shapes/Points.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/Rect.d.ts +0 -4
- package/lib/commonjs/renderer/components/shapes/Rect.js +0 -13
- package/lib/commonjs/renderer/components/shapes/Rect.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/RoundedRect.d.ts +0 -4
- package/lib/commonjs/renderer/components/shapes/RoundedRect.js +0 -13
- package/lib/commonjs/renderer/components/shapes/RoundedRect.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/Vertices.d.ts +0 -4
- package/lib/commonjs/renderer/components/shapes/Vertices.js +0 -19
- package/lib/commonjs/renderer/components/shapes/Vertices.js.map +0 -1
- package/lib/commonjs/renderer/components/shapes/index.d.ts +0 -14
- package/lib/commonjs/renderer/components/shapes/index.js +0 -160
- package/lib/commonjs/renderer/components/shapes/index.js.map +0 -1
- package/lib/commonjs/renderer/components/text/Glyphs.d.ts +0 -4
- package/lib/commonjs/renderer/components/text/Glyphs.js +0 -21
- package/lib/commonjs/renderer/components/text/Glyphs.js.map +0 -1
- package/lib/commonjs/renderer/components/text/Text.d.ts +0 -4
- package/lib/commonjs/renderer/components/text/Text.js +0 -21
- package/lib/commonjs/renderer/components/text/Text.js.map +0 -1
- package/lib/commonjs/renderer/components/text/TextBlob.d.ts +0 -4
- package/lib/commonjs/renderer/components/text/TextBlob.js +0 -21
- package/lib/commonjs/renderer/components/text/TextBlob.js.map +0 -1
- package/lib/commonjs/renderer/components/text/TextPath.d.ts +0 -4
- package/lib/commonjs/renderer/components/text/TextPath.js +0 -19
- package/lib/commonjs/renderer/components/text/TextPath.js.map +0 -1
- package/lib/commonjs/renderer/components/text/index.d.ts +0 -4
- package/lib/commonjs/renderer/components/text/index.js +0 -50
- package/lib/commonjs/renderer/components/text/index.js.map +0 -1
- package/lib/commonjs/renderer/index.d.ts +0 -1
- package/lib/commonjs/renderer/index.js +0 -17
- package/lib/commonjs/renderer/index.js.map +0 -1
- package/lib/commonjs/renderer/processors/Animations/Animations.d.ts +0 -13
- package/lib/commonjs/renderer/processors/Animations/Animations.js +0 -2
- package/lib/commonjs/renderer/processors/Animations/Animations.js.map +0 -1
- package/lib/commonjs/renderer/processors/Animations/index.d.ts +0 -1
- package/lib/commonjs/renderer/processors/Animations/index.js +0 -17
- package/lib/commonjs/renderer/processors/Animations/index.js.map +0 -1
- package/lib/commonjs/renderer/processors/index.d.ts +0 -2
- package/lib/commonjs/renderer/processors/index.js +0 -28
- package/lib/commonjs/renderer/processors/index.js.map +0 -1
- package/lib/commonjs/renderer/processors/math/Coordinates.d.ts +0 -29
- package/lib/commonjs/renderer/processors/math/Coordinates.js +0 -55
- package/lib/commonjs/renderer/processors/math/Coordinates.js.map +0 -1
- package/lib/commonjs/renderer/processors/math/Math.d.ts +0 -16
- package/lib/commonjs/renderer/processors/math/Math.js +0 -39
- package/lib/commonjs/renderer/processors/math/Math.js.map +0 -1
- package/lib/commonjs/renderer/processors/math/Transforms.d.ts +0 -5
- package/lib/commonjs/renderer/processors/math/Transforms.js +0 -21
- package/lib/commonjs/renderer/processors/math/Transforms.js.map +0 -1
- package/lib/commonjs/renderer/processors/math/index.d.ts +0 -3
- package/lib/commonjs/renderer/processors/math/index.js +0 -39
- package/lib/commonjs/renderer/processors/math/index.js.map +0 -1
- package/lib/commonjs/renderer/typeddash.d.ts +0 -3
- package/lib/commonjs/renderer/typeddash.js +0 -34
- package/lib/commonjs/renderer/typeddash.js.map +0 -1
- package/lib/commonjs/skia/NativeSetup.d.ts +0 -1
- package/lib/commonjs/skia/NativeSetup.js +0 -17
- package/lib/commonjs/skia/NativeSetup.js.map +0 -1
- package/lib/commonjs/skia/Skia.d.ts +0 -8
- package/lib/commonjs/skia/Skia.js +0 -14
- package/lib/commonjs/skia/Skia.js.map +0 -1
- package/lib/commonjs/skia/Skia.web.d.ts +0 -1
- package/lib/commonjs/skia/Skia.web.js +0 -9
- package/lib/commonjs/skia/Skia.web.js.map +0 -1
- package/lib/commonjs/skia/core/AnimatedImage.d.ts +0 -5
- package/lib/commonjs/skia/core/AnimatedImage.js +0 -16
- package/lib/commonjs/skia/core/AnimatedImage.js.map +0 -1
- package/lib/commonjs/skia/core/Data.d.ts +0 -5
- package/lib/commonjs/skia/core/Data.js +0 -82
- package/lib/commonjs/skia/core/Data.js.map +0 -1
- package/lib/commonjs/skia/core/Font.d.ts +0 -18
- package/lib/commonjs/skia/core/Font.js +0 -100
- package/lib/commonjs/skia/core/Font.js.map +0 -1
- package/lib/commonjs/skia/core/Image.d.ts +0 -17
- package/lib/commonjs/skia/core/Image.js +0 -44
- package/lib/commonjs/skia/core/Image.js.map +0 -1
- package/lib/commonjs/skia/core/Matrix.d.ts +0 -2
- package/lib/commonjs/skia/core/Matrix.js +0 -11
- package/lib/commonjs/skia/core/Matrix.js.map +0 -1
- package/lib/commonjs/skia/core/Picture.d.ts +0 -8
- package/lib/commonjs/skia/core/Picture.js +0 -28
- package/lib/commonjs/skia/core/Picture.js.map +0 -1
- package/lib/commonjs/skia/core/RRect.d.ts +0 -2
- package/lib/commonjs/skia/core/RRect.js +0 -14
- package/lib/commonjs/skia/core/RRect.js.map +0 -1
- package/lib/commonjs/skia/core/Rect.d.ts +0 -8
- package/lib/commonjs/skia/core/Rect.js +0 -56
- package/lib/commonjs/skia/core/Rect.js.map +0 -1
- package/lib/commonjs/skia/core/SVG.d.ts +0 -2
- package/lib/commonjs/skia/core/SVG.js +0 -12
- package/lib/commonjs/skia/core/SVG.js.map +0 -1
- package/lib/commonjs/skia/core/Typeface.d.ts +0 -5
- package/lib/commonjs/skia/core/Typeface.js +0 -16
- package/lib/commonjs/skia/core/Typeface.js.map +0 -1
- package/lib/commonjs/skia/core/Vector.d.ts +0 -7
- package/lib/commonjs/skia/core/Vector.js +0 -39
- package/lib/commonjs/skia/core/Vector.js.map +0 -1
- package/lib/commonjs/skia/core/index.d.ts +0 -11
- package/lib/commonjs/skia/core/index.js +0 -127
- package/lib/commonjs/skia/core/index.js.map +0 -1
- package/lib/commonjs/skia/index.d.ts +0 -3
- package/lib/commonjs/skia/index.js +0 -40
- package/lib/commonjs/skia/index.js.map +0 -1
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.d.ts +0 -24
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.js +0 -6
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.js.map +0 -1
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +0 -13
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.js +0 -6
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.js.map +0 -1
- package/lib/commonjs/skia/types/AnimatedImage/index.d.ts +0 -2
- package/lib/commonjs/skia/types/AnimatedImage/index.js +0 -28
- package/lib/commonjs/skia/types/AnimatedImage/index.js.map +0 -1
- package/lib/commonjs/skia/types/Canvas.d.ts +0 -404
- package/lib/commonjs/skia/types/Canvas.js +0 -17
- package/lib/commonjs/skia/types/Canvas.js.map +0 -1
- package/lib/commonjs/skia/types/Color.d.ts +0 -2
- package/lib/commonjs/skia/types/Color.js +0 -2
- package/lib/commonjs/skia/types/Color.js.map +0 -1
- package/lib/commonjs/skia/types/ColorFilter/ColorFilter.d.ts +0 -3
- package/lib/commonjs/skia/types/ColorFilter/ColorFilter.js +0 -9
- package/lib/commonjs/skia/types/ColorFilter/ColorFilter.js.map +0 -1
- package/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.d.ts +0 -43
- package/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.js +0 -6
- package/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.js.map +0 -1
- package/lib/commonjs/skia/types/ColorFilter/index.d.ts +0 -2
- package/lib/commonjs/skia/types/ColorFilter/index.js +0 -28
- package/lib/commonjs/skia/types/ColorFilter/index.js.map +0 -1
- package/lib/commonjs/skia/types/ContourMeasure.d.ts +0 -41
- package/lib/commonjs/skia/types/ContourMeasure.js +0 -6
- package/lib/commonjs/skia/types/ContourMeasure.js.map +0 -1
- package/lib/commonjs/skia/types/Data/Data.d.ts +0 -12
- package/lib/commonjs/skia/types/Data/Data.js +0 -9
- package/lib/commonjs/skia/types/Data/Data.js.map +0 -1
- package/lib/commonjs/skia/types/Data/DataFactory.d.ts +0 -18
- package/lib/commonjs/skia/types/Data/DataFactory.js +0 -6
- package/lib/commonjs/skia/types/Data/DataFactory.js.map +0 -1
- package/lib/commonjs/skia/types/Data/index.d.ts +0 -2
- package/lib/commonjs/skia/types/Data/index.js +0 -28
- package/lib/commonjs/skia/types/Data/index.js.map +0 -1
- package/lib/commonjs/skia/types/Font/Font.d.ts +0 -189
- package/lib/commonjs/skia/types/Font/Font.js +0 -63
- package/lib/commonjs/skia/types/Font/Font.js.map +0 -1
- package/lib/commonjs/skia/types/Font/FontMgr.d.ts +0 -8
- package/lib/commonjs/skia/types/Font/FontMgr.js +0 -6
- package/lib/commonjs/skia/types/Font/FontMgr.js.map +0 -1
- package/lib/commonjs/skia/types/Font/FontMgrFactory.d.ts +0 -4
- package/lib/commonjs/skia/types/Font/FontMgrFactory.js +0 -6
- package/lib/commonjs/skia/types/Font/FontMgrFactory.js.map +0 -1
- package/lib/commonjs/skia/types/Font/index.d.ts +0 -3
- package/lib/commonjs/skia/types/Font/index.js +0 -39
- package/lib/commonjs/skia/types/Font/index.js.map +0 -1
- package/lib/commonjs/skia/types/Image/Image.d.ts +0 -102
- package/lib/commonjs/skia/types/Image/Image.js +0 -24
- package/lib/commonjs/skia/types/Image/Image.js.map +0 -1
- package/lib/commonjs/skia/types/Image/ImageFactory.d.ts +0 -73
- package/lib/commonjs/skia/types/Image/ImageFactory.js +0 -43
- package/lib/commonjs/skia/types/Image/ImageFactory.js.map +0 -1
- package/lib/commonjs/skia/types/Image/index.d.ts +0 -2
- package/lib/commonjs/skia/types/Image/index.js +0 -28
- package/lib/commonjs/skia/types/Image/index.js.map +0 -1
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.d.ts +0 -23
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.js +0 -16
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.js.map +0 -1
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.d.ts +0 -130
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.js +0 -14
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.js.map +0 -1
- package/lib/commonjs/skia/types/ImageFilter/index.d.ts +0 -2
- package/lib/commonjs/skia/types/ImageFilter/index.js +0 -28
- package/lib/commonjs/skia/types/ImageFilter/index.js.map +0 -1
- package/lib/commonjs/skia/types/JsiInstance.d.ts +0 -4
- package/lib/commonjs/skia/types/JsiInstance.js +0 -2
- package/lib/commonjs/skia/types/JsiInstance.js.map +0 -1
- package/lib/commonjs/skia/types/MaskFilter.d.ts +0 -21
- package/lib/commonjs/skia/types/MaskFilter.js +0 -20
- package/lib/commonjs/skia/types/MaskFilter.js.map +0 -1
- package/lib/commonjs/skia/types/Matrix.d.ts +0 -23
- package/lib/commonjs/skia/types/Matrix.js +0 -20
- package/lib/commonjs/skia/types/Matrix.js.map +0 -1
- package/lib/commonjs/skia/types/Matrix4.d.ts +0 -103
- package/lib/commonjs/skia/types/Matrix4.js +0 -295
- package/lib/commonjs/skia/types/Matrix4.js.map +0 -1
- package/lib/commonjs/skia/types/Paint/BlendMode.d.ts +0 -58
- package/lib/commonjs/skia/types/Paint/BlendMode.js +0 -66
- package/lib/commonjs/skia/types/Paint/BlendMode.js.map +0 -1
- package/lib/commonjs/skia/types/Paint/Paint.d.ts +0 -141
- package/lib/commonjs/skia/types/Paint/Paint.js +0 -26
- package/lib/commonjs/skia/types/Paint/Paint.js.map +0 -1
- package/lib/commonjs/skia/types/Paint/index.d.ts +0 -2
- package/lib/commonjs/skia/types/Paint/index.js +0 -28
- package/lib/commonjs/skia/types/Paint/index.js.map +0 -1
- package/lib/commonjs/skia/types/Paragraph/Paragraph.d.ts +0 -79
- package/lib/commonjs/skia/types/Paragraph/Paragraph.js +0 -6
- package/lib/commonjs/skia/types/Paragraph/Paragraph.js.map +0 -1
- package/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.d.ts +0 -60
- package/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.js +0 -16
- package/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.js.map +0 -1
- package/lib/commonjs/skia/types/Paragraph/ParagraphStyle.d.ts +0 -41
- package/lib/commonjs/skia/types/Paragraph/ParagraphStyle.js +0 -28
- package/lib/commonjs/skia/types/Paragraph/ParagraphStyle.js.map +0 -1
- package/lib/commonjs/skia/types/Paragraph/TextStyle.d.ts +0 -62
- package/lib/commonjs/skia/types/Paragraph/TextStyle.js +0 -27
- package/lib/commonjs/skia/types/Paragraph/TextStyle.js.map +0 -1
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.d.ts +0 -10
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.js +0 -6
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.js.map +0 -1
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +0 -4
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.js +0 -6
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.js.map +0 -1
- package/lib/commonjs/skia/types/Paragraph/index.d.ts +0 -6
- package/lib/commonjs/skia/types/Paragraph/index.js +0 -72
- package/lib/commonjs/skia/types/Paragraph/index.js.map +0 -1
- package/lib/commonjs/skia/types/Path/Path.d.ts +0 -475
- package/lib/commonjs/skia/types/Path/Path.js +0 -36
- package/lib/commonjs/skia/types/Path/Path.js.map +0 -1
- package/lib/commonjs/skia/types/Path/PathFactory.d.ts +0 -29
- package/lib/commonjs/skia/types/Path/PathFactory.js +0 -6
- package/lib/commonjs/skia/types/Path/PathFactory.js.map +0 -1
- package/lib/commonjs/skia/types/Path/index.d.ts +0 -2
- package/lib/commonjs/skia/types/Path/index.js +0 -28
- package/lib/commonjs/skia/types/Path/index.js.map +0 -1
- package/lib/commonjs/skia/types/PathEffect.d.ts +0 -75
- package/lib/commonjs/skia/types/PathEffect.js +0 -15
- package/lib/commonjs/skia/types/PathEffect.js.map +0 -1
- package/lib/commonjs/skia/types/Picture/Picture.d.ts +0 -27
- package/lib/commonjs/skia/types/Picture/Picture.js +0 -6
- package/lib/commonjs/skia/types/Picture/Picture.js.map +0 -1
- package/lib/commonjs/skia/types/Picture/PictureFactory.d.ts +0 -8
- package/lib/commonjs/skia/types/Picture/PictureFactory.js +0 -6
- package/lib/commonjs/skia/types/Picture/PictureFactory.js.map +0 -1
- package/lib/commonjs/skia/types/Picture/PictureRecorder.d.ts +0 -15
- package/lib/commonjs/skia/types/Picture/PictureRecorder.js +0 -6
- package/lib/commonjs/skia/types/Picture/PictureRecorder.js.map +0 -1
- package/lib/commonjs/skia/types/Picture/index.d.ts +0 -3
- package/lib/commonjs/skia/types/Picture/index.js +0 -39
- package/lib/commonjs/skia/types/Picture/index.js.map +0 -1
- package/lib/commonjs/skia/types/Point.d.ts +0 -10
- package/lib/commonjs/skia/types/Point.js +0 -13
- package/lib/commonjs/skia/types/Point.js.map +0 -1
- package/lib/commonjs/skia/types/RRect.d.ts +0 -16
- package/lib/commonjs/skia/types/RRect.js +0 -12
- package/lib/commonjs/skia/types/RRect.js.map +0 -1
- package/lib/commonjs/skia/types/RSXform.d.ts +0 -8
- package/lib/commonjs/skia/types/RSXform.js +0 -6
- package/lib/commonjs/skia/types/RSXform.js.map +0 -1
- package/lib/commonjs/skia/types/Rect.d.ts +0 -11
- package/lib/commonjs/skia/types/Rect.js +0 -17
- package/lib/commonjs/skia/types/Rect.js.map +0 -1
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.d.ts +0 -52
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.js +0 -6
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.js.map +0 -1
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +0 -10
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.js +0 -6
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.js.map +0 -1
- package/lib/commonjs/skia/types/RuntimeEffect/index.d.ts +0 -2
- package/lib/commonjs/skia/types/RuntimeEffect/index.js +0 -28
- package/lib/commonjs/skia/types/RuntimeEffect/index.js.map +0 -1
- package/lib/commonjs/skia/types/SVG/SVG.d.ts +0 -5
- package/lib/commonjs/skia/types/SVG/SVG.js +0 -6
- package/lib/commonjs/skia/types/SVG/SVG.js.map +0 -1
- package/lib/commonjs/skia/types/SVG/SVGFactory.d.ts +0 -6
- package/lib/commonjs/skia/types/SVG/SVGFactory.js +0 -6
- package/lib/commonjs/skia/types/SVG/SVGFactory.js.map +0 -1
- package/lib/commonjs/skia/types/SVG/index.d.ts +0 -2
- package/lib/commonjs/skia/types/SVG/index.js +0 -28
- package/lib/commonjs/skia/types/SVG/index.js.map +0 -1
- package/lib/commonjs/skia/types/Shader/Shader.d.ts +0 -10
- package/lib/commonjs/skia/types/Shader/Shader.js +0 -47
- package/lib/commonjs/skia/types/Shader/Shader.js.map +0 -1
- package/lib/commonjs/skia/types/Shader/ShaderFactory.d.ts +0 -104
- package/lib/commonjs/skia/types/Shader/ShaderFactory.js +0 -6
- package/lib/commonjs/skia/types/Shader/ShaderFactory.js.map +0 -1
- package/lib/commonjs/skia/types/Shader/index.d.ts +0 -2
- package/lib/commonjs/skia/types/Shader/index.js +0 -28
- package/lib/commonjs/skia/types/Shader/index.js.map +0 -1
- package/lib/commonjs/skia/types/Size.d.ts +0 -4
- package/lib/commonjs/skia/types/Size.js +0 -2
- package/lib/commonjs/skia/types/Size.js.map +0 -1
- package/lib/commonjs/skia/types/Skia.d.ts +0 -74
- package/lib/commonjs/skia/types/Skia.js +0 -6
- package/lib/commonjs/skia/types/Skia.js.map +0 -1
- package/lib/commonjs/skia/types/Surface/Surface.d.ts +0 -29
- package/lib/commonjs/skia/types/Surface/Surface.js +0 -6
- package/lib/commonjs/skia/types/Surface/Surface.js.map +0 -1
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.d.ts +0 -17
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.js +0 -6
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.js.map +0 -1
- package/lib/commonjs/skia/types/Surface/index.d.ts +0 -2
- package/lib/commonjs/skia/types/Surface/index.js +0 -28
- package/lib/commonjs/skia/types/Surface/index.js.map +0 -1
- package/lib/commonjs/skia/types/TextBlob.d.ts +0 -44
- package/lib/commonjs/skia/types/TextBlob.js +0 -6
- package/lib/commonjs/skia/types/TextBlob.js.map +0 -1
- package/lib/commonjs/skia/types/Typeface/Typeface.d.ts +0 -11
- package/lib/commonjs/skia/types/Typeface/Typeface.js +0 -6
- package/lib/commonjs/skia/types/Typeface/Typeface.js.map +0 -1
- package/lib/commonjs/skia/types/Typeface/TypefaceFactory.d.ts +0 -5
- package/lib/commonjs/skia/types/Typeface/TypefaceFactory.js +0 -6
- package/lib/commonjs/skia/types/Typeface/TypefaceFactory.js.map +0 -1
- package/lib/commonjs/skia/types/Typeface/index.d.ts +0 -2
- package/lib/commonjs/skia/types/Typeface/index.js +0 -28
- package/lib/commonjs/skia/types/Typeface/index.js.map +0 -1
- package/lib/commonjs/skia/types/Vertices/Vertices.d.ts +0 -17
- package/lib/commonjs/skia/types/Vertices/Vertices.js +0 -13
- package/lib/commonjs/skia/types/Vertices/Vertices.js.map +0 -1
- package/lib/commonjs/skia/types/Vertices/index.d.ts +0 -1
- package/lib/commonjs/skia/types/Vertices/index.js +0 -17
- package/lib/commonjs/skia/types/Vertices/index.js.map +0 -1
- package/lib/commonjs/skia/types/index.d.ts +0 -31
- package/lib/commonjs/skia/types/index.js +0 -347
- package/lib/commonjs/skia/types/index.js.map +0 -1
- package/lib/commonjs/skia/web/Host.d.ts +0 -20
- package/lib/commonjs/skia/web/Host.js +0 -45
- package/lib/commonjs/skia/web/Host.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.d.ts +0 -11
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.js +0 -34
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.d.ts +0 -9
- package/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.js +0 -23
- package/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkCanvas.d.ts +0 -47
- package/lib/commonjs/skia/web/JsiSkCanvas.js +0 -176
- package/lib/commonjs/skia/web/JsiSkCanvas.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkColor.d.ts +0 -2
- package/lib/commonjs/skia/web/JsiSkColor.js +0 -305
- package/lib/commonjs/skia/web/JsiSkColor.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkColorFilter.d.ts +0 -7
- package/lib/commonjs/skia/web/JsiSkColorFilter.js +0 -20
- package/lib/commonjs/skia/web/JsiSkColorFilter.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkColorFilterFactory.d.ts +0 -14
- package/lib/commonjs/skia/web/JsiSkColorFilterFactory.js +0 -36
- package/lib/commonjs/skia/web/JsiSkColorFilterFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkContourMeasure.d.ts +0 -13
- package/lib/commonjs/skia/web/JsiSkContourMeasure.js +0 -35
- package/lib/commonjs/skia/web/JsiSkContourMeasure.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.d.ts +0 -9
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.js +0 -28
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkData.d.ts +0 -9
- package/lib/commonjs/skia/web/JsiSkData.js +0 -20
- package/lib/commonjs/skia/web/JsiSkData.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkDataFactory.d.ts +0 -19
- package/lib/commonjs/skia/web/JsiSkDataFactory.js +0 -33
- package/lib/commonjs/skia/web/JsiSkDataFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkFont.d.ts +0 -35
- package/lib/commonjs/skia/web/JsiSkFont.js +0 -99
- package/lib/commonjs/skia/web/JsiSkFont.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkFontMgr.d.ts +0 -10
- package/lib/commonjs/skia/web/JsiSkFontMgr.js +0 -26
- package/lib/commonjs/skia/web/JsiSkFontMgr.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkFontMgrFactory.d.ts +0 -8
- package/lib/commonjs/skia/web/JsiSkFontMgrFactory.js +0 -22
- package/lib/commonjs/skia/web/JsiSkFontMgrFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkImage.d.ts +0 -17
- package/lib/commonjs/skia/web/JsiSkImage.js +0 -103
- package/lib/commonjs/skia/web/JsiSkImage.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkImageFactory.d.ts +0 -11
- package/lib/commonjs/skia/web/JsiSkImageFactory.js +0 -43
- package/lib/commonjs/skia/web/JsiSkImageFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkImageFilter.d.ts +0 -7
- package/lib/commonjs/skia/web/JsiSkImageFilter.js +0 -20
- package/lib/commonjs/skia/web/JsiSkImageFilter.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.d.ts +0 -19
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.js +0 -82
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkMaskFilter.d.ts +0 -7
- package/lib/commonjs/skia/web/JsiSkMaskFilter.js +0 -20
- package/lib/commonjs/skia/web/JsiSkMaskFilter.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkMaskFilterFactory.d.ts +0 -9
- package/lib/commonjs/skia/web/JsiSkMaskFilterFactory.js +0 -18
- package/lib/commonjs/skia/web/JsiSkMaskFilterFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkMatrix.d.ts +0 -20
- package/lib/commonjs/skia/web/JsiSkMatrix.js +0 -73
- package/lib/commonjs/skia/web/JsiSkMatrix.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkPaint.d.ts +0 -30
- package/lib/commonjs/skia/web/JsiSkPaint.js +0 -96
- package/lib/commonjs/skia/web/JsiSkPaint.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkParagraph.d.ts +0 -19
- package/lib/commonjs/skia/web/JsiSkParagraph.js +0 -77
- package/lib/commonjs/skia/web/JsiSkParagraph.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.d.ts +0 -15
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.js +0 -63
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.d.ts +0 -8
- package/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.js +0 -27
- package/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.d.ts +0 -5
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.js +0 -54
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkPath.d.ts +0 -58
- package/lib/commonjs/skia/web/JsiSkPath.js +0 -263
- package/lib/commonjs/skia/web/JsiSkPath.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkPathEffect.d.ts +0 -7
- package/lib/commonjs/skia/web/JsiSkPathEffect.js +0 -20
- package/lib/commonjs/skia/web/JsiSkPathEffect.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.d.ts +0 -15
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.js +0 -59
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkPathFactory.d.ts +0 -13
- package/lib/commonjs/skia/web/JsiSkPathFactory.js +0 -42
- package/lib/commonjs/skia/web/JsiSkPathFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkPicture.d.ts +0 -10
- package/lib/commonjs/skia/web/JsiSkPicture.js +0 -29
- package/lib/commonjs/skia/web/JsiSkPicture.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkPictureFactory.d.ts +0 -8
- package/lib/commonjs/skia/web/JsiSkPictureFactory.js +0 -22
- package/lib/commonjs/skia/web/JsiSkPictureFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.d.ts +0 -12
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.js +0 -29
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkPoint.d.ts +0 -10
- package/lib/commonjs/skia/web/JsiSkPoint.js +0 -32
- package/lib/commonjs/skia/web/JsiSkPoint.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkRRect.d.ts +0 -12
- package/lib/commonjs/skia/web/JsiSkRRect.js +0 -50
- package/lib/commonjs/skia/web/JsiSkRRect.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkRSXform.d.ts +0 -14
- package/lib/commonjs/skia/web/JsiSkRSXform.js +0 -44
- package/lib/commonjs/skia/web/JsiSkRSXform.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkRect.d.ts +0 -13
- package/lib/commonjs/skia/web/JsiSkRect.js +0 -44
- package/lib/commonjs/skia/web/JsiSkRect.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.d.ts +0 -17
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.js +0 -44
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.d.ts +0 -8
- package/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.js +0 -22
- package/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkSVGFactory.d.ts +0 -9
- package/lib/commonjs/skia/web/JsiSkSVGFactory.js +0 -20
- package/lib/commonjs/skia/web/JsiSkSVGFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkShader.d.ts +0 -7
- package/lib/commonjs/skia/web/JsiSkShader.js +0 -20
- package/lib/commonjs/skia/web/JsiSkShader.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkShaderFactory.d.ts +0 -16
- package/lib/commonjs/skia/web/JsiSkShaderFactory.js +0 -41
- package/lib/commonjs/skia/web/JsiSkShaderFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkSurface.d.ts +0 -10
- package/lib/commonjs/skia/web/JsiSkSurface.js +0 -33
- package/lib/commonjs/skia/web/JsiSkSurface.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.d.ts +0 -9
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.js +0 -43
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkTextBlob.d.ts +0 -7
- package/lib/commonjs/skia/web/JsiSkTextBlob.js +0 -20
- package/lib/commonjs/skia/web/JsiSkTextBlob.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkTextBlobFactory.d.ts +0 -13
- package/lib/commonjs/skia/web/JsiSkTextBlobFactory.js +0 -30
- package/lib/commonjs/skia/web/JsiSkTextBlobFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkTextStyle.d.ts +0 -5
- package/lib/commonjs/skia/web/JsiSkTextStyle.js +0 -51
- package/lib/commonjs/skia/web/JsiSkTextStyle.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkTypeface.d.ts +0 -10
- package/lib/commonjs/skia/web/JsiSkTypeface.js +0 -31
- package/lib/commonjs/skia/web/JsiSkTypeface.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkTypefaceFactory.d.ts +0 -8
- package/lib/commonjs/skia/web/JsiSkTypefaceFactory.js +0 -22
- package/lib/commonjs/skia/web/JsiSkTypefaceFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.d.ts +0 -13
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.js +0 -76
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +0 -7
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.js +0 -19
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkVertices.d.ts +0 -10
- package/lib/commonjs/skia/web/JsiSkVertices.js +0 -27
- package/lib/commonjs/skia/web/JsiSkVertices.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkVerticesFactory.d.ts +0 -4
- package/lib/commonjs/skia/web/JsiSkVerticesFactory.js +0 -30
- package/lib/commonjs/skia/web/JsiSkVerticesFactory.js.map +0 -1
- package/lib/commonjs/skia/web/JsiSkia.d.ts +0 -3
- package/lib/commonjs/skia/web/JsiSkia.js +0 -84
- package/lib/commonjs/skia/web/JsiSkia.js.map +0 -1
- package/lib/commonjs/skia/web/index.d.ts +0 -1
- package/lib/commonjs/skia/web/index.js +0 -17
- package/lib/commonjs/skia/web/index.js.map +0 -1
- package/lib/commonjs/specs/NativeSkiaModule.d.ts +0 -6
- package/lib/commonjs/specs/NativeSkiaModule.js +0 -10
- package/lib/commonjs/specs/NativeSkiaModule.js.map +0 -1
- package/lib/commonjs/specs/NativeSkiaModule.web.d.ts +0 -2
- package/lib/commonjs/specs/NativeSkiaModule.web.js +0 -10
- package/lib/commonjs/specs/NativeSkiaModule.web.js.map +0 -1
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.d.ts +0 -8
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.js +0 -11
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.js.map +0 -1
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.d.ts +0 -8
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.js +0 -11
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.js.map +0 -1
- package/lib/commonjs/views/SkiaBaseWebView.d.ts +0 -60
- package/lib/commonjs/views/SkiaBaseWebView.js +0 -185
- package/lib/commonjs/views/SkiaBaseWebView.js.map +0 -1
- package/lib/commonjs/views/SkiaDomView.d.ts +0 -24
- package/lib/commonjs/views/SkiaDomView.js +0 -111
- package/lib/commonjs/views/SkiaDomView.js.map +0 -1
- package/lib/commonjs/views/SkiaDomView.web.d.ts +0 -7
- package/lib/commonjs/views/SkiaDomView.web.js +0 -35
- package/lib/commonjs/views/SkiaDomView.web.js.map +0 -1
- package/lib/commonjs/views/SkiaJSDomView.d.ts +0 -31
- package/lib/commonjs/views/SkiaJSDomView.js +0 -128
- package/lib/commonjs/views/SkiaJSDomView.js.map +0 -1
- package/lib/commonjs/views/SkiaJSDomView.web.d.ts +0 -1
- package/lib/commonjs/views/SkiaJSDomView.web.js +0 -13
- package/lib/commonjs/views/SkiaJSDomView.web.js.map +0 -1
- package/lib/commonjs/views/SkiaPictureView.d.ts +0 -20
- package/lib/commonjs/views/SkiaPictureView.js +0 -90
- package/lib/commonjs/views/SkiaPictureView.js.map +0 -1
- package/lib/commonjs/views/SkiaPictureView.web.d.ts +0 -7
- package/lib/commonjs/views/SkiaPictureView.web.js +0 -19
- package/lib/commonjs/views/SkiaPictureView.web.js.map +0 -1
- package/lib/commonjs/views/SkiaViewNativeId.d.ts +0 -3
- package/lib/commonjs/views/SkiaViewNativeId.js +0 -10
- package/lib/commonjs/views/SkiaViewNativeId.js.map +0 -1
- package/lib/commonjs/views/api.d.ts +0 -5
- package/lib/commonjs/views/api.js +0 -11
- package/lib/commonjs/views/api.js.map +0 -1
- package/lib/commonjs/views/index.d.ts +0 -4
- package/lib/commonjs/views/index.js +0 -50
- package/lib/commonjs/views/index.js.map +0 -1
- package/lib/commonjs/views/types.d.ts +0 -79
- package/lib/commonjs/views/types.js +0 -17
- package/lib/commonjs/views/types.js.map +0 -1
- package/lib/commonjs/views/useTouchHandler.d.ts +0 -22
- package/lib/commonjs/views/useTouchHandler.js +0 -83
- package/lib/commonjs/views/useTouchHandler.js.map +0 -1
- package/lib/commonjs/web/LoadSkiaWeb.d.ts +0 -6
- package/lib/commonjs/web/LoadSkiaWeb.js +0 -28
- package/lib/commonjs/web/LoadSkiaWeb.js.map +0 -1
- package/lib/commonjs/web/WithSkiaWeb.d.ts +0 -12
- package/lib/commonjs/web/WithSkiaWeb.js +0 -33
- package/lib/commonjs/web/WithSkiaWeb.js.map +0 -1
- package/lib/commonjs/web/index.d.ts +0 -2
- package/lib/commonjs/web/index.js +0 -28
- package/lib/commonjs/web/index.js.map +0 -1
- package/lib/module/Platform/IPlatform.d.ts +0 -10
- package/lib/module/Platform/IPlatform.js +0 -2
- package/lib/module/Platform/IPlatform.js.map +0 -1
- package/lib/module/Platform/Platform.d.ts +0 -2
- package/lib/module/Platform/Platform.js +0 -12
- package/lib/module/Platform/Platform.js.map +0 -1
- package/lib/module/Platform/Platform.web.d.ts +0 -2
- package/lib/module/Platform/Platform.web.js +0 -136
- package/lib/module/Platform/Platform.web.js.map +0 -1
- package/lib/module/Platform/index.d.ts +0 -1
- package/lib/module/Platform/index.js +0 -2
- package/lib/module/Platform/index.js.map +0 -1
- package/lib/module/animation/functions/index.d.ts +0 -4
- package/lib/module/animation/functions/index.js +0 -5
- package/lib/module/animation/functions/index.js.map +0 -1
- package/lib/module/animation/functions/interpolate.d.ts +0 -17
- package/lib/module/animation/functions/interpolate.js +0 -124
- package/lib/module/animation/functions/interpolate.js.map +0 -1
- package/lib/module/animation/functions/interpolateColors.d.ts +0 -3
- package/lib/module/animation/functions/interpolateColors.js +0 -27
- package/lib/module/animation/functions/interpolateColors.js.map +0 -1
- package/lib/module/animation/functions/interpolatePaths.d.ts +0 -19
- package/lib/module/animation/functions/interpolatePaths.js +0 -61
- package/lib/module/animation/functions/interpolatePaths.js.map +0 -1
- package/lib/module/animation/functions/interpolateVector.d.ts +0 -10
- package/lib/module/animation/functions/interpolateVector.js +0 -15
- package/lib/module/animation/functions/interpolateVector.js.map +0 -1
- package/lib/module/animation/index.d.ts +0 -1
- package/lib/module/animation/index.js +0 -2
- package/lib/module/animation/index.js.map +0 -1
- package/lib/module/dom/nodes/DrawingNode.d.ts +0 -14
- package/lib/module/dom/nodes/DrawingNode.js +0 -62
- package/lib/module/dom/nodes/DrawingNode.js.map +0 -1
- package/lib/module/dom/nodes/GroupNode.d.ts +0 -7
- package/lib/module/dom/nodes/GroupNode.js +0 -15
- package/lib/module/dom/nodes/GroupNode.js.map +0 -1
- package/lib/module/dom/nodes/JsiSkDOM.d.ts +0 -68
- package/lib/module/dom/nodes/JsiSkDOM.js +0 -201
- package/lib/module/dom/nodes/JsiSkDOM.js.map +0 -1
- package/lib/module/dom/nodes/LayerNode.d.ts +0 -8
- package/lib/module/dom/nodes/LayerNode.js +0 -32
- package/lib/module/dom/nodes/LayerNode.js.map +0 -1
- package/lib/module/dom/nodes/Node.d.ts +0 -35
- package/lib/module/dom/nodes/Node.js +0 -95
- package/lib/module/dom/nodes/Node.js.map +0 -1
- package/lib/module/dom/nodes/PaintNode.d.ts +0 -8
- package/lib/module/dom/nodes/PaintNode.js +0 -83
- package/lib/module/dom/nodes/PaintNode.js.map +0 -1
- package/lib/module/dom/nodes/RenderNode.d.ts +0 -26
- package/lib/module/dom/nodes/RenderNode.js +0 -125
- package/lib/module/dom/nodes/RenderNode.js.map +0 -1
- package/lib/module/dom/nodes/datatypes/Circle.d.ts +0 -7
- package/lib/module/dom/nodes/datatypes/Circle.js +0 -21
- package/lib/module/dom/nodes/datatypes/Circle.js.map +0 -1
- package/lib/module/dom/nodes/datatypes/Enum.d.ts +0 -1
- package/lib/module/dom/nodes/datatypes/Enum.js +0 -2
- package/lib/module/dom/nodes/datatypes/Enum.js.map +0 -1
- package/lib/module/dom/nodes/datatypes/Fitting.d.ts +0 -33
- package/lib/module/dom/nodes/datatypes/Fitting.js +0 -120
- package/lib/module/dom/nodes/datatypes/Fitting.js.map +0 -1
- package/lib/module/dom/nodes/datatypes/Gradient.d.ts +0 -252
- package/lib/module/dom/nodes/datatypes/Gradient.js +0 -45
- package/lib/module/dom/nodes/datatypes/Gradient.js.map +0 -1
- package/lib/module/dom/nodes/datatypes/Path.d.ts +0 -4
- package/lib/module/dom/nodes/datatypes/Path.js +0 -12
- package/lib/module/dom/nodes/datatypes/Path.js.map +0 -1
- package/lib/module/dom/nodes/datatypes/Radius.d.ts +0 -3
- package/lib/module/dom/nodes/datatypes/Radius.js +0 -7
- package/lib/module/dom/nodes/datatypes/Radius.js.map +0 -1
- package/lib/module/dom/nodes/datatypes/Rect.d.ts +0 -5
- package/lib/module/dom/nodes/datatypes/Rect.js +0 -31
- package/lib/module/dom/nodes/datatypes/Rect.js.map +0 -1
- package/lib/module/dom/nodes/datatypes/Transform.d.ts +0 -3
- package/lib/module/dom/nodes/datatypes/Transform.js +0 -26
- package/lib/module/dom/nodes/datatypes/Transform.js.map +0 -1
- package/lib/module/dom/nodes/datatypes/index.d.ts +0 -8
- package/lib/module/dom/nodes/datatypes/index.js +0 -9
- package/lib/module/dom/nodes/datatypes/index.js.map +0 -1
- package/lib/module/dom/nodes/drawings/AtlasNode.d.ts +0 -8
- package/lib/module/dom/nodes/drawings/AtlasNode.js +0 -29
- package/lib/module/dom/nodes/drawings/AtlasNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/BackdropFilterNode.d.ts +0 -8
- package/lib/module/dom/nodes/drawings/BackdropFilterNode.js +0 -35
- package/lib/module/dom/nodes/drawings/BackdropFilterNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/Box.d.ts +0 -15
- package/lib/module/dom/nodes/drawings/Box.js +0 -74
- package/lib/module/dom/nodes/drawings/Box.js.map +0 -1
- package/lib/module/dom/nodes/drawings/CircleNode.d.ts +0 -9
- package/lib/module/dom/nodes/drawings/CircleNode.js +0 -25
- package/lib/module/dom/nodes/drawings/CircleNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/DiffRectNode.d.ts +0 -8
- package/lib/module/dom/nodes/drawings/DiffRectNode.js +0 -21
- package/lib/module/dom/nodes/drawings/DiffRectNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/FillNode.d.ts +0 -8
- package/lib/module/dom/nodes/drawings/FillNode.js +0 -17
- package/lib/module/dom/nodes/drawings/FillNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/ImageNode.d.ts +0 -25
- package/lib/module/dom/nodes/drawings/ImageNode.js +0 -64
- package/lib/module/dom/nodes/drawings/ImageNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/ImageSVG.d.ts +0 -13
- package/lib/module/dom/nodes/drawings/ImageSVG.js +0 -50
- package/lib/module/dom/nodes/drawings/ImageSVG.js.map +0 -1
- package/lib/module/dom/nodes/drawings/LineNode.d.ts +0 -8
- package/lib/module/dom/nodes/drawings/LineNode.js +0 -21
- package/lib/module/dom/nodes/drawings/LineNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/OvalNode.d.ts +0 -9
- package/lib/module/dom/nodes/drawings/OvalNode.js +0 -21
- package/lib/module/dom/nodes/drawings/OvalNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/ParagraphNode.d.ts +0 -8
- package/lib/module/dom/nodes/drawings/ParagraphNode.js +0 -25
- package/lib/module/dom/nodes/drawings/ParagraphNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/PatchNode.d.ts +0 -18
- package/lib/module/dom/nodes/drawings/PatchNode.js +0 -46
- package/lib/module/dom/nodes/drawings/PatchNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/PathNode.d.ts +0 -9
- package/lib/module/dom/nodes/drawings/PathNode.js +0 -48
- package/lib/module/dom/nodes/drawings/PathNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/PictureNode.d.ts +0 -8
- package/lib/module/dom/nodes/drawings/PictureNode.js +0 -19
- package/lib/module/dom/nodes/drawings/PictureNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/PointsNode.d.ts +0 -8
- package/lib/module/dom/nodes/drawings/PointsNode.js +0 -23
- package/lib/module/dom/nodes/drawings/PointsNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/RRectNode.d.ts +0 -10
- package/lib/module/dom/nodes/drawings/RRectNode.js +0 -25
- package/lib/module/dom/nodes/drawings/RRectNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/RectNode.d.ts +0 -9
- package/lib/module/dom/nodes/drawings/RectNode.js +0 -21
- package/lib/module/dom/nodes/drawings/RectNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/Text.d.ts +0 -30
- package/lib/module/dom/nodes/drawings/Text.js +0 -149
- package/lib/module/dom/nodes/drawings/Text.js.map +0 -1
- package/lib/module/dom/nodes/drawings/VerticesNode.d.ts +0 -9
- package/lib/module/dom/nodes/drawings/VerticesNode.js +0 -36
- package/lib/module/dom/nodes/drawings/VerticesNode.js.map +0 -1
- package/lib/module/dom/nodes/drawings/index.d.ts +0 -18
- package/lib/module/dom/nodes/drawings/index.js +0 -19
- package/lib/module/dom/nodes/drawings/index.js.map +0 -1
- package/lib/module/dom/nodes/index.d.ts +0 -3
- package/lib/module/dom/nodes/index.js +0 -4
- package/lib/module/dom/nodes/index.js.map +0 -1
- package/lib/module/dom/nodes/paint/BlendNode.d.ts +0 -8
- package/lib/module/dom/nodes/paint/BlendNode.js +0 -30
- package/lib/module/dom/nodes/paint/BlendNode.js.map +0 -1
- package/lib/module/dom/nodes/paint/ColorFilters.d.ts +0 -35
- package/lib/module/dom/nodes/paint/ColorFilters.js +0 -89
- package/lib/module/dom/nodes/paint/ColorFilters.js.map +0 -1
- package/lib/module/dom/nodes/paint/ImageFilters.d.ts +0 -42
- package/lib/module/dom/nodes/paint/ImageFilters.js +0 -169
- package/lib/module/dom/nodes/paint/ImageFilters.js.map +0 -1
- package/lib/module/dom/nodes/paint/MaskFilters.d.ts +0 -8
- package/lib/module/dom/nodes/paint/MaskFilters.js +0 -19
- package/lib/module/dom/nodes/paint/MaskFilters.js.map +0 -1
- package/lib/module/dom/nodes/paint/PathEffects.d.ts +0 -39
- package/lib/module/dom/nodes/paint/PathEffects.js +0 -123
- package/lib/module/dom/nodes/paint/PathEffects.js.map +0 -1
- package/lib/module/dom/nodes/paint/Shaders.d.ts +0 -43
- package/lib/module/dom/nodes/paint/Shaders.js +0 -193
- package/lib/module/dom/nodes/paint/Shaders.js.map +0 -1
- package/lib/module/dom/nodes/paint/index.d.ts +0 -6
- package/lib/module/dom/nodes/paint/index.js +0 -7
- package/lib/module/dom/nodes/paint/index.js.map +0 -1
- package/lib/module/dom/types/ColorFilters.d.ts +0 -12
- package/lib/module/dom/types/ColorFilters.js +0 -2
- package/lib/module/dom/types/ColorFilters.js.map +0 -1
- package/lib/module/dom/types/Common.d.ts +0 -57
- package/lib/module/dom/types/Common.js +0 -2
- package/lib/module/dom/types/Common.js.map +0 -1
- package/lib/module/dom/types/DeclarationContext.d.ts +0 -29
- package/lib/module/dom/types/DeclarationContext.js +0 -83
- package/lib/module/dom/types/DeclarationContext.js.map +0 -1
- package/lib/module/dom/types/DrawingContext.d.ts +0 -22
- package/lib/module/dom/types/DrawingContext.js +0 -256
- package/lib/module/dom/types/DrawingContext.js.map +0 -1
- package/lib/module/dom/types/Drawings.d.ts +0 -111
- package/lib/module/dom/types/Drawings.js +0 -2
- package/lib/module/dom/types/Drawings.js.map +0 -1
- package/lib/module/dom/types/ImageFilters.d.ts +0 -37
- package/lib/module/dom/types/ImageFilters.js +0 -2
- package/lib/module/dom/types/ImageFilters.js.map +0 -1
- package/lib/module/dom/types/MaskFilters.d.ts +0 -7
- package/lib/module/dom/types/MaskFilters.js +0 -2
- package/lib/module/dom/types/MaskFilters.js.map +0 -1
- package/lib/module/dom/types/Node.d.ts +0 -23
- package/lib/module/dom/types/Node.js +0 -2
- package/lib/module/dom/types/Node.js.map +0 -1
- package/lib/module/dom/types/NodeType.d.ts +0 -68
- package/lib/module/dom/types/NodeType.js +0 -71
- package/lib/module/dom/types/NodeType.js.map +0 -1
- package/lib/module/dom/types/Paragraph.d.ts +0 -8
- package/lib/module/dom/types/Paragraph.js +0 -2
- package/lib/module/dom/types/Paragraph.js.map +0 -1
- package/lib/module/dom/types/PathEffects.d.ts +0 -28
- package/lib/module/dom/types/PathEffects.js +0 -2
- package/lib/module/dom/types/PathEffects.js.map +0 -1
- package/lib/module/dom/types/Shaders.d.ts +0 -59
- package/lib/module/dom/types/Shaders.js +0 -2
- package/lib/module/dom/types/Shaders.js.map +0 -1
- package/lib/module/dom/types/SkDOM.d.ts +0 -73
- package/lib/module/dom/types/SkDOM.js +0 -2
- package/lib/module/dom/types/SkDOM.js.map +0 -1
- package/lib/module/dom/types/index.d.ts +0 -13
- package/lib/module/dom/types/index.js +0 -14
- package/lib/module/dom/types/index.js.map +0 -1
- package/lib/module/external/index.d.ts +0 -1
- package/lib/module/external/index.js +0 -2
- package/lib/module/external/index.js.map +0 -1
- package/lib/module/external/reanimated/buffers.d.ts +0 -7
- package/lib/module/external/reanimated/buffers.js +0 -38
- package/lib/module/external/reanimated/buffers.js.map +0 -1
- package/lib/module/external/reanimated/index.d.ts +0 -6
- package/lib/module/external/reanimated/index.js +0 -7
- package/lib/module/external/reanimated/index.js.map +0 -1
- package/lib/module/external/reanimated/interpolators.d.ts +0 -10
- package/lib/module/external/reanimated/interpolators.js +0 -64
- package/lib/module/external/reanimated/interpolators.js.map +0 -1
- package/lib/module/external/reanimated/moduleWrapper.d.ts +0 -14
- package/lib/module/external/reanimated/moduleWrapper.js +0 -36
- package/lib/module/external/reanimated/moduleWrapper.js.map +0 -1
- package/lib/module/external/reanimated/renderHelpers.d.ts +0 -6
- package/lib/module/external/reanimated/renderHelpers.js +0 -102
- package/lib/module/external/reanimated/renderHelpers.js.map +0 -1
- package/lib/module/external/reanimated/textures.d.ts +0 -8
- package/lib/module/external/reanimated/textures.js +0 -64
- package/lib/module/external/reanimated/textures.js.map +0 -1
- package/lib/module/external/reanimated/useAnimatedImageValue.d.ts +0 -2
- package/lib/module/external/reanimated/useAnimatedImageValue.js +0 -48
- package/lib/module/external/reanimated/useAnimatedImageValue.js.map +0 -1
- package/lib/module/external/reanimated/useDerivedValueOnJS.d.ts +0 -1
- package/lib/module/external/reanimated/useDerivedValueOnJS.js +0 -16
- package/lib/module/external/reanimated/useDerivedValueOnJS.js.map +0 -1
- package/lib/module/headless/index.d.ts +0 -5
- package/lib/module/headless/index.js +0 -30
- package/lib/module/headless/index.js.map +0 -1
- package/lib/module/index.d.ts +0 -11
- package/lib/module/index.js +0 -12
- package/lib/module/index.js.map +0 -1
- package/lib/module/mock/index.d.ts +0 -2
- package/lib/module/mock/index.js +0 -51
- package/lib/module/mock/index.js.map +0 -1
- package/lib/module/renderer/Canvas.d.ts +0 -11
- package/lib/module/renderer/Canvas.js +0 -107
- package/lib/module/renderer/Canvas.js.map +0 -1
- package/lib/module/renderer/Container.d.ts +0 -11
- package/lib/module/renderer/Container.js +0 -23
- package/lib/module/renderer/Container.js.map +0 -1
- package/lib/module/renderer/DrawingContext.d.ts +0 -7
- package/lib/module/renderer/DrawingContext.js +0 -2
- package/lib/module/renderer/DrawingContext.js.map +0 -1
- package/lib/module/renderer/HostComponents.d.ts +0 -132
- package/lib/module/renderer/HostComponents.js +0 -137
- package/lib/module/renderer/HostComponents.js.map +0 -1
- package/lib/module/renderer/HostConfig.d.ts +0 -19
- package/lib/module/renderer/HostConfig.js +0 -142
- package/lib/module/renderer/HostConfig.js.map +0 -1
- package/lib/module/renderer/Offscreen.d.ts +0 -6
- package/lib/module/renderer/Offscreen.js +0 -44
- package/lib/module/renderer/Offscreen.js.map +0 -1
- package/lib/module/renderer/Reconciler.d.ts +0 -10
- package/lib/module/renderer/Reconciler.js +0 -35
- package/lib/module/renderer/Reconciler.js.map +0 -1
- package/lib/module/renderer/components/Blend.d.ts +0 -4
- package/lib/module/renderer/components/Blend.js +0 -5
- package/lib/module/renderer/components/Blend.js.map +0 -1
- package/lib/module/renderer/components/Group.d.ts +0 -8
- package/lib/module/renderer/components/Group.js +0 -14
- package/lib/module/renderer/components/Group.js.map +0 -1
- package/lib/module/renderer/components/Mask.d.ts +0 -10
- package/lib/module/renderer/components/Mask.js +0 -25
- package/lib/module/renderer/components/Mask.js.map +0 -1
- package/lib/module/renderer/components/Paint.d.ts +0 -4
- package/lib/module/renderer/components/Paint.js +0 -5
- package/lib/module/renderer/components/Paint.js.map +0 -1
- package/lib/module/renderer/components/Picture.d.ts +0 -4
- package/lib/module/renderer/components/Picture.js +0 -5
- package/lib/module/renderer/components/Picture.js.map +0 -1
- package/lib/module/renderer/components/backdrop/BackdropBlur.d.ts +0 -9
- package/lib/module/renderer/components/backdrop/BackdropBlur.js +0 -17
- package/lib/module/renderer/components/backdrop/BackdropBlur.js.map +0 -1
- package/lib/module/renderer/components/backdrop/BackdropFilter.d.ts +0 -8
- package/lib/module/renderer/components/backdrop/BackdropFilter.js +0 -10
- package/lib/module/renderer/components/backdrop/BackdropFilter.js.map +0 -1
- package/lib/module/renderer/components/backdrop/index.d.ts +0 -2
- package/lib/module/renderer/components/backdrop/index.js +0 -3
- package/lib/module/renderer/components/backdrop/index.js.map +0 -1
- package/lib/module/renderer/components/colorFilters/BlendColor.d.ts +0 -4
- package/lib/module/renderer/components/colorFilters/BlendColor.js +0 -5
- package/lib/module/renderer/components/colorFilters/BlendColor.js.map +0 -1
- package/lib/module/renderer/components/colorFilters/Lerp.d.ts +0 -4
- package/lib/module/renderer/components/colorFilters/Lerp.js +0 -5
- package/lib/module/renderer/components/colorFilters/Lerp.js.map +0 -1
- package/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +0 -4
- package/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.js +0 -5
- package/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.js.map +0 -1
- package/lib/module/renderer/components/colorFilters/LumaColorFilter.d.ts +0 -4
- package/lib/module/renderer/components/colorFilters/LumaColorFilter.js +0 -5
- package/lib/module/renderer/components/colorFilters/LumaColorFilter.js.map +0 -1
- package/lib/module/renderer/components/colorFilters/Matrix.d.ts +0 -5
- package/lib/module/renderer/components/colorFilters/Matrix.js +0 -6
- package/lib/module/renderer/components/colorFilters/Matrix.js.map +0 -1
- package/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +0 -4
- package/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.js +0 -5
- package/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.js.map +0 -1
- package/lib/module/renderer/components/colorFilters/index.d.ts +0 -6
- package/lib/module/renderer/components/colorFilters/index.js +0 -7
- package/lib/module/renderer/components/colorFilters/index.js.map +0 -1
- package/lib/module/renderer/components/image/Image.d.ts +0 -4
- package/lib/module/renderer/components/image/Image.js +0 -5
- package/lib/module/renderer/components/image/Image.js.map +0 -1
- package/lib/module/renderer/components/image/ImageSVG.d.ts +0 -4
- package/lib/module/renderer/components/image/ImageSVG.js +0 -5
- package/lib/module/renderer/components/image/ImageSVG.js.map +0 -1
- package/lib/module/renderer/components/image/ImageShader.d.ts +0 -4
- package/lib/module/renderer/components/image/ImageShader.js +0 -21
- package/lib/module/renderer/components/image/ImageShader.js.map +0 -1
- package/lib/module/renderer/components/image/index.d.ts +0 -3
- package/lib/module/renderer/components/image/index.js +0 -4
- package/lib/module/renderer/components/image/index.js.map +0 -1
- package/lib/module/renderer/components/imageFilters/Blur.d.ts +0 -4
- package/lib/module/renderer/components/imageFilters/Blur.js +0 -11
- package/lib/module/renderer/components/imageFilters/Blur.js.map +0 -1
- package/lib/module/renderer/components/imageFilters/DisplacementMap.d.ts +0 -4
- package/lib/module/renderer/components/imageFilters/DisplacementMap.js +0 -5
- package/lib/module/renderer/components/imageFilters/DisplacementMap.js.map +0 -1
- package/lib/module/renderer/components/imageFilters/Morphology.d.ts +0 -4
- package/lib/module/renderer/components/imageFilters/Morphology.js +0 -11
- package/lib/module/renderer/components/imageFilters/Morphology.js.map +0 -1
- package/lib/module/renderer/components/imageFilters/Offset.d.ts +0 -4
- package/lib/module/renderer/components/imageFilters/Offset.js +0 -13
- package/lib/module/renderer/components/imageFilters/Offset.js.map +0 -1
- package/lib/module/renderer/components/imageFilters/RuntimeShader.d.ts +0 -4
- package/lib/module/renderer/components/imageFilters/RuntimeShader.js +0 -5
- package/lib/module/renderer/components/imageFilters/RuntimeShader.js.map +0 -1
- package/lib/module/renderer/components/imageFilters/Shadow.d.ts +0 -4
- package/lib/module/renderer/components/imageFilters/Shadow.js +0 -5
- package/lib/module/renderer/components/imageFilters/Shadow.js.map +0 -1
- package/lib/module/renderer/components/imageFilters/index.d.ts +0 -6
- package/lib/module/renderer/components/imageFilters/index.js +0 -7
- package/lib/module/renderer/components/imageFilters/index.js.map +0 -1
- package/lib/module/renderer/components/index.d.ts +0 -16
- package/lib/module/renderer/components/index.js +0 -17
- package/lib/module/renderer/components/index.js.map +0 -1
- package/lib/module/renderer/components/maskFilters/Blur.d.ts +0 -4
- package/lib/module/renderer/components/maskFilters/Blur.js +0 -13
- package/lib/module/renderer/components/maskFilters/Blur.js.map +0 -1
- package/lib/module/renderer/components/maskFilters/index.d.ts +0 -1
- package/lib/module/renderer/components/maskFilters/index.js +0 -2
- package/lib/module/renderer/components/maskFilters/index.js.map +0 -1
- package/lib/module/renderer/components/paragraph/Paragraph.d.ts +0 -4
- package/lib/module/renderer/components/paragraph/Paragraph.js +0 -5
- package/lib/module/renderer/components/paragraph/Paragraph.js.map +0 -1
- package/lib/module/renderer/components/paragraph/index.d.ts +0 -1
- package/lib/module/renderer/components/paragraph/index.js +0 -2
- package/lib/module/renderer/components/paragraph/index.js.map +0 -1
- package/lib/module/renderer/components/pathEffects/Corner.d.ts +0 -4
- package/lib/module/renderer/components/pathEffects/Corner.js +0 -5
- package/lib/module/renderer/components/pathEffects/Corner.js.map +0 -1
- package/lib/module/renderer/components/pathEffects/Dash.d.ts +0 -4
- package/lib/module/renderer/components/pathEffects/Dash.js +0 -5
- package/lib/module/renderer/components/pathEffects/Dash.js.map +0 -1
- package/lib/module/renderer/components/pathEffects/Discrete.d.ts +0 -4
- package/lib/module/renderer/components/pathEffects/Discrete.js +0 -11
- package/lib/module/renderer/components/pathEffects/Discrete.js.map +0 -1
- package/lib/module/renderer/components/pathEffects/Line2D.d.ts +0 -4
- package/lib/module/renderer/components/pathEffects/Line2D.js +0 -5
- package/lib/module/renderer/components/pathEffects/Line2D.js.map +0 -1
- package/lib/module/renderer/components/pathEffects/Path1D.d.ts +0 -4
- package/lib/module/renderer/components/pathEffects/Path1D.js +0 -5
- package/lib/module/renderer/components/pathEffects/Path1D.js.map +0 -1
- package/lib/module/renderer/components/pathEffects/Path2D.d.ts +0 -4
- package/lib/module/renderer/components/pathEffects/Path2D.js +0 -5
- package/lib/module/renderer/components/pathEffects/Path2D.js.map +0 -1
- package/lib/module/renderer/components/pathEffects/Sum.d.ts +0 -3
- package/lib/module/renderer/components/pathEffects/Sum.js +0 -5
- package/lib/module/renderer/components/pathEffects/Sum.js.map +0 -1
- package/lib/module/renderer/components/pathEffects/index.d.ts +0 -7
- package/lib/module/renderer/components/pathEffects/index.js +0 -8
- package/lib/module/renderer/components/pathEffects/index.js.map +0 -1
- package/lib/module/renderer/components/shaders/Color.d.ts +0 -4
- package/lib/module/renderer/components/shaders/Color.js +0 -5
- package/lib/module/renderer/components/shaders/Color.js.map +0 -1
- package/lib/module/renderer/components/shaders/FractalNoise.d.ts +0 -4
- package/lib/module/renderer/components/shaders/FractalNoise.js +0 -15
- package/lib/module/renderer/components/shaders/FractalNoise.js.map +0 -1
- package/lib/module/renderer/components/shaders/LinearGradient.d.ts +0 -4
- package/lib/module/renderer/components/shaders/LinearGradient.js +0 -5
- package/lib/module/renderer/components/shaders/LinearGradient.js.map +0 -1
- package/lib/module/renderer/components/shaders/RadialGradient.d.ts +0 -4
- package/lib/module/renderer/components/shaders/RadialGradient.js +0 -5
- package/lib/module/renderer/components/shaders/RadialGradient.js.map +0 -1
- package/lib/module/renderer/components/shaders/Shader.d.ts +0 -4
- package/lib/module/renderer/components/shaders/Shader.js +0 -11
- package/lib/module/renderer/components/shaders/Shader.js.map +0 -1
- package/lib/module/renderer/components/shaders/ShaderLib.d.ts +0 -4
- package/lib/module/renderer/components/shaders/ShaderLib.js +0 -45
- package/lib/module/renderer/components/shaders/ShaderLib.js.map +0 -1
- package/lib/module/renderer/components/shaders/SweepGradient.d.ts +0 -4
- package/lib/module/renderer/components/shaders/SweepGradient.js +0 -5
- package/lib/module/renderer/components/shaders/SweepGradient.js.map +0 -1
- package/lib/module/renderer/components/shaders/Turbulence.d.ts +0 -4
- package/lib/module/renderer/components/shaders/Turbulence.js +0 -15
- package/lib/module/renderer/components/shaders/Turbulence.js.map +0 -1
- package/lib/module/renderer/components/shaders/TwoPointConicalGradient.d.ts +0 -4
- package/lib/module/renderer/components/shaders/TwoPointConicalGradient.js +0 -5
- package/lib/module/renderer/components/shaders/TwoPointConicalGradient.js.map +0 -1
- package/lib/module/renderer/components/shaders/index.d.ts +0 -9
- package/lib/module/renderer/components/shaders/index.js +0 -10
- package/lib/module/renderer/components/shaders/index.js.map +0 -1
- package/lib/module/renderer/components/shapes/Atlas.d.ts +0 -4
- package/lib/module/renderer/components/shapes/Atlas.js +0 -5
- package/lib/module/renderer/components/shapes/Atlas.js.map +0 -1
- package/lib/module/renderer/components/shapes/Box.d.ts +0 -5
- package/lib/module/renderer/components/shapes/Box.js +0 -8
- package/lib/module/renderer/components/shapes/Box.js.map +0 -1
- package/lib/module/renderer/components/shapes/Circle.d.ts +0 -4
- package/lib/module/renderer/components/shapes/Circle.js +0 -5
- package/lib/module/renderer/components/shapes/Circle.js.map +0 -1
- package/lib/module/renderer/components/shapes/DiffRect.d.ts +0 -4
- package/lib/module/renderer/components/shapes/DiffRect.js +0 -5
- package/lib/module/renderer/components/shapes/DiffRect.js.map +0 -1
- package/lib/module/renderer/components/shapes/Fill.d.ts +0 -4
- package/lib/module/renderer/components/shapes/Fill.js +0 -5
- package/lib/module/renderer/components/shapes/Fill.js.map +0 -1
- package/lib/module/renderer/components/shapes/FitBox.d.ts +0 -21
- package/lib/module/renderer/components/shapes/FitBox.js +0 -19
- package/lib/module/renderer/components/shapes/FitBox.js.map +0 -1
- package/lib/module/renderer/components/shapes/Line.d.ts +0 -4
- package/lib/module/renderer/components/shapes/Line.js +0 -5
- package/lib/module/renderer/components/shapes/Line.js.map +0 -1
- package/lib/module/renderer/components/shapes/Oval.d.ts +0 -4
- package/lib/module/renderer/components/shapes/Oval.js +0 -5
- package/lib/module/renderer/components/shapes/Oval.js.map +0 -1
- package/lib/module/renderer/components/shapes/Patch.d.ts +0 -4
- package/lib/module/renderer/components/shapes/Patch.js +0 -5
- package/lib/module/renderer/components/shapes/Patch.js.map +0 -1
- package/lib/module/renderer/components/shapes/Path.d.ts +0 -4
- package/lib/module/renderer/components/shapes/Path.js +0 -13
- package/lib/module/renderer/components/shapes/Path.js.map +0 -1
- package/lib/module/renderer/components/shapes/Points.d.ts +0 -4
- package/lib/module/renderer/components/shapes/Points.js +0 -11
- package/lib/module/renderer/components/shapes/Points.js.map +0 -1
- package/lib/module/renderer/components/shapes/Rect.d.ts +0 -4
- package/lib/module/renderer/components/shapes/Rect.js +0 -5
- package/lib/module/renderer/components/shapes/Rect.js.map +0 -1
- package/lib/module/renderer/components/shapes/RoundedRect.d.ts +0 -4
- package/lib/module/renderer/components/shapes/RoundedRect.js +0 -5
- package/lib/module/renderer/components/shapes/RoundedRect.js.map +0 -1
- package/lib/module/renderer/components/shapes/Vertices.d.ts +0 -4
- package/lib/module/renderer/components/shapes/Vertices.js +0 -11
- package/lib/module/renderer/components/shapes/Vertices.js.map +0 -1
- package/lib/module/renderer/components/shapes/index.d.ts +0 -14
- package/lib/module/renderer/components/shapes/index.js +0 -15
- package/lib/module/renderer/components/shapes/index.js.map +0 -1
- package/lib/module/renderer/components/text/Glyphs.d.ts +0 -4
- package/lib/module/renderer/components/text/Glyphs.js +0 -13
- package/lib/module/renderer/components/text/Glyphs.js.map +0 -1
- package/lib/module/renderer/components/text/Text.d.ts +0 -4
- package/lib/module/renderer/components/text/Text.js +0 -13
- package/lib/module/renderer/components/text/Text.js.map +0 -1
- package/lib/module/renderer/components/text/TextBlob.d.ts +0 -4
- package/lib/module/renderer/components/text/TextBlob.js +0 -13
- package/lib/module/renderer/components/text/TextBlob.js.map +0 -1
- package/lib/module/renderer/components/text/TextPath.d.ts +0 -4
- package/lib/module/renderer/components/text/TextPath.js +0 -11
- package/lib/module/renderer/components/text/TextPath.js.map +0 -1
- package/lib/module/renderer/components/text/index.d.ts +0 -4
- package/lib/module/renderer/components/text/index.js +0 -5
- package/lib/module/renderer/components/text/index.js.map +0 -1
- package/lib/module/renderer/index.d.ts +0 -1
- package/lib/module/renderer/index.js +0 -2
- package/lib/module/renderer/index.js.map +0 -1
- package/lib/module/renderer/processors/Animations/Animations.d.ts +0 -13
- package/lib/module/renderer/processors/Animations/Animations.js +0 -2
- package/lib/module/renderer/processors/Animations/Animations.js.map +0 -1
- package/lib/module/renderer/processors/Animations/index.d.ts +0 -1
- package/lib/module/renderer/processors/Animations/index.js +0 -2
- package/lib/module/renderer/processors/Animations/index.js.map +0 -1
- package/lib/module/renderer/processors/index.d.ts +0 -2
- package/lib/module/renderer/processors/index.js +0 -3
- package/lib/module/renderer/processors/index.js.map +0 -1
- package/lib/module/renderer/processors/math/Coordinates.d.ts +0 -29
- package/lib/module/renderer/processors/math/Coordinates.js +0 -43
- package/lib/module/renderer/processors/math/Coordinates.js.map +0 -1
- package/lib/module/renderer/processors/math/Math.d.ts +0 -16
- package/lib/module/renderer/processors/math/Math.js +0 -30
- package/lib/module/renderer/processors/math/Math.js.map +0 -1
- package/lib/module/renderer/processors/math/Transforms.d.ts +0 -5
- package/lib/module/renderer/processors/math/Transforms.js +0 -14
- package/lib/module/renderer/processors/math/Transforms.js.map +0 -1
- package/lib/module/renderer/processors/math/index.d.ts +0 -3
- package/lib/module/renderer/processors/math/index.js +0 -4
- package/lib/module/renderer/processors/math/index.js.map +0 -1
- package/lib/module/renderer/typeddash.d.ts +0 -3
- package/lib/module/renderer/typeddash.js +0 -25
- package/lib/module/renderer/typeddash.js.map +0 -1
- package/lib/module/skia/NativeSetup.d.ts +0 -1
- package/lib/module/skia/NativeSetup.js +0 -14
- package/lib/module/skia/NativeSetup.js.map +0 -1
- package/lib/module/skia/Skia.d.ts +0 -8
- package/lib/module/skia/Skia.js +0 -8
- package/lib/module/skia/Skia.js.map +0 -1
- package/lib/module/skia/Skia.web.d.ts +0 -1
- package/lib/module/skia/Skia.web.js +0 -3
- package/lib/module/skia/Skia.web.js.map +0 -1
- package/lib/module/skia/core/AnimatedImage.d.ts +0 -5
- package/lib/module/skia/core/AnimatedImage.js +0 -9
- package/lib/module/skia/core/AnimatedImage.js.map +0 -1
- package/lib/module/skia/core/Data.d.ts +0 -5
- package/lib/module/skia/core/Data.js +0 -72
- package/lib/module/skia/core/Data.js.map +0 -1
- package/lib/module/skia/core/Font.d.ts +0 -18
- package/lib/module/skia/core/Font.js +0 -89
- package/lib/module/skia/core/Font.js.map +0 -1
- package/lib/module/skia/core/Image.d.ts +0 -17
- package/lib/module/skia/core/Image.js +0 -36
- package/lib/module/skia/core/Image.js.map +0 -1
- package/lib/module/skia/core/Matrix.d.ts +0 -2
- package/lib/module/skia/core/Matrix.js +0 -4
- package/lib/module/skia/core/Matrix.js.map +0 -1
- package/lib/module/skia/core/Picture.d.ts +0 -8
- package/lib/module/skia/core/Picture.js +0 -22
- package/lib/module/skia/core/Picture.js.map +0 -1
- package/lib/module/skia/core/RRect.d.ts +0 -2
- package/lib/module/skia/core/RRect.js +0 -7
- package/lib/module/skia/core/RRect.js.map +0 -1
- package/lib/module/skia/core/Rect.d.ts +0 -8
- package/lib/module/skia/core/Rect.js +0 -43
- package/lib/module/skia/core/Rect.js.map +0 -1
- package/lib/module/skia/core/SVG.d.ts +0 -2
- package/lib/module/skia/core/SVG.js +0 -5
- package/lib/module/skia/core/SVG.js.map +0 -1
- package/lib/module/skia/core/Typeface.d.ts +0 -5
- package/lib/module/skia/core/Typeface.js +0 -9
- package/lib/module/skia/core/Typeface.js.map +0 -1
- package/lib/module/skia/core/Vector.d.ts +0 -7
- package/lib/module/skia/core/Vector.js +0 -28
- package/lib/module/skia/core/Vector.js.map +0 -1
- package/lib/module/skia/core/index.d.ts +0 -11
- package/lib/module/skia/core/index.js +0 -12
- package/lib/module/skia/core/index.js.map +0 -1
- package/lib/module/skia/index.d.ts +0 -3
- package/lib/module/skia/index.js +0 -4
- package/lib/module/skia/index.js.map +0 -1
- package/lib/module/skia/types/AnimatedImage/AnimatedImage.d.ts +0 -24
- package/lib/module/skia/types/AnimatedImage/AnimatedImage.js +0 -2
- package/lib/module/skia/types/AnimatedImage/AnimatedImage.js.map +0 -1
- package/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +0 -13
- package/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.js +0 -2
- package/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.js.map +0 -1
- package/lib/module/skia/types/AnimatedImage/index.d.ts +0 -2
- package/lib/module/skia/types/AnimatedImage/index.js +0 -3
- package/lib/module/skia/types/AnimatedImage/index.js.map +0 -1
- package/lib/module/skia/types/Canvas.d.ts +0 -404
- package/lib/module/skia/types/Canvas.js +0 -11
- package/lib/module/skia/types/Canvas.js.map +0 -1
- package/lib/module/skia/types/Color.d.ts +0 -2
- package/lib/module/skia/types/Color.js +0 -2
- package/lib/module/skia/types/Color.js.map +0 -1
- package/lib/module/skia/types/ColorFilter/ColorFilter.d.ts +0 -3
- package/lib/module/skia/types/ColorFilter/ColorFilter.js +0 -2
- package/lib/module/skia/types/ColorFilter/ColorFilter.js.map +0 -1
- package/lib/module/skia/types/ColorFilter/ColorFilterFactory.d.ts +0 -43
- package/lib/module/skia/types/ColorFilter/ColorFilterFactory.js +0 -2
- package/lib/module/skia/types/ColorFilter/ColorFilterFactory.js.map +0 -1
- package/lib/module/skia/types/ColorFilter/index.d.ts +0 -2
- package/lib/module/skia/types/ColorFilter/index.js +0 -3
- package/lib/module/skia/types/ColorFilter/index.js.map +0 -1
- package/lib/module/skia/types/ContourMeasure.d.ts +0 -41
- package/lib/module/skia/types/ContourMeasure.js +0 -2
- package/lib/module/skia/types/ContourMeasure.js.map +0 -1
- package/lib/module/skia/types/Data/Data.d.ts +0 -12
- package/lib/module/skia/types/Data/Data.js +0 -2
- package/lib/module/skia/types/Data/Data.js.map +0 -1
- package/lib/module/skia/types/Data/DataFactory.d.ts +0 -18
- package/lib/module/skia/types/Data/DataFactory.js +0 -2
- package/lib/module/skia/types/Data/DataFactory.js.map +0 -1
- package/lib/module/skia/types/Data/index.d.ts +0 -2
- package/lib/module/skia/types/Data/index.js +0 -3
- package/lib/module/skia/types/Data/index.js.map +0 -1
- package/lib/module/skia/types/Font/Font.d.ts +0 -189
- package/lib/module/skia/types/Font/Font.js +0 -57
- package/lib/module/skia/types/Font/Font.js.map +0 -1
- package/lib/module/skia/types/Font/FontMgr.d.ts +0 -8
- package/lib/module/skia/types/Font/FontMgr.js +0 -2
- package/lib/module/skia/types/Font/FontMgr.js.map +0 -1
- package/lib/module/skia/types/Font/FontMgrFactory.d.ts +0 -4
- package/lib/module/skia/types/Font/FontMgrFactory.js +0 -2
- package/lib/module/skia/types/Font/FontMgrFactory.js.map +0 -1
- package/lib/module/skia/types/Font/index.d.ts +0 -3
- package/lib/module/skia/types/Font/index.js +0 -4
- package/lib/module/skia/types/Font/index.js.map +0 -1
- package/lib/module/skia/types/Image/Image.d.ts +0 -102
- package/lib/module/skia/types/Image/Image.js +0 -18
- package/lib/module/skia/types/Image/Image.js.map +0 -1
- package/lib/module/skia/types/Image/ImageFactory.d.ts +0 -73
- package/lib/module/skia/types/Image/ImageFactory.js +0 -37
- package/lib/module/skia/types/Image/ImageFactory.js.map +0 -1
- package/lib/module/skia/types/Image/index.d.ts +0 -2
- package/lib/module/skia/types/Image/index.js +0 -3
- package/lib/module/skia/types/Image/index.js.map +0 -1
- package/lib/module/skia/types/ImageFilter/ImageFilter.d.ts +0 -23
- package/lib/module/skia/types/ImageFilter/ImageFilter.js +0 -9
- package/lib/module/skia/types/ImageFilter/ImageFilter.js.map +0 -1
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.d.ts +0 -130
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.js +0 -8
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.js.map +0 -1
- package/lib/module/skia/types/ImageFilter/index.d.ts +0 -2
- package/lib/module/skia/types/ImageFilter/index.js +0 -3
- package/lib/module/skia/types/ImageFilter/index.js.map +0 -1
- package/lib/module/skia/types/JsiInstance.d.ts +0 -4
- package/lib/module/skia/types/JsiInstance.js +0 -2
- package/lib/module/skia/types/JsiInstance.js.map +0 -1
- package/lib/module/skia/types/MaskFilter.d.ts +0 -21
- package/lib/module/skia/types/MaskFilter.js +0 -13
- package/lib/module/skia/types/MaskFilter.js.map +0 -1
- package/lib/module/skia/types/Matrix.d.ts +0 -23
- package/lib/module/skia/types/Matrix.js +0 -11
- package/lib/module/skia/types/Matrix.js.map +0 -1
- package/lib/module/skia/types/Matrix4.d.ts +0 -103
- package/lib/module/skia/types/Matrix4.js +0 -274
- package/lib/module/skia/types/Matrix4.js.map +0 -1
- package/lib/module/skia/types/Paint/BlendMode.d.ts +0 -58
- package/lib/module/skia/types/Paint/BlendMode.js +0 -60
- package/lib/module/skia/types/Paint/BlendMode.js.map +0 -1
- package/lib/module/skia/types/Paint/Paint.d.ts +0 -141
- package/lib/module/skia/types/Paint/Paint.js +0 -19
- package/lib/module/skia/types/Paint/Paint.js.map +0 -1
- package/lib/module/skia/types/Paint/index.d.ts +0 -2
- package/lib/module/skia/types/Paint/index.js +0 -3
- package/lib/module/skia/types/Paint/index.js.map +0 -1
- package/lib/module/skia/types/Paragraph/Paragraph.d.ts +0 -79
- package/lib/module/skia/types/Paragraph/Paragraph.js +0 -2
- package/lib/module/skia/types/Paragraph/Paragraph.js.map +0 -1
- package/lib/module/skia/types/Paragraph/ParagraphBuilder.d.ts +0 -60
- package/lib/module/skia/types/Paragraph/ParagraphBuilder.js +0 -10
- package/lib/module/skia/types/Paragraph/ParagraphBuilder.js.map +0 -1
- package/lib/module/skia/types/Paragraph/ParagraphStyle.d.ts +0 -41
- package/lib/module/skia/types/Paragraph/ParagraphStyle.js +0 -22
- package/lib/module/skia/types/Paragraph/ParagraphStyle.js.map +0 -1
- package/lib/module/skia/types/Paragraph/TextStyle.d.ts +0 -62
- package/lib/module/skia/types/Paragraph/TextStyle.js +0 -21
- package/lib/module/skia/types/Paragraph/TextStyle.js.map +0 -1
- package/lib/module/skia/types/Paragraph/TypefaceFontProvider.d.ts +0 -10
- package/lib/module/skia/types/Paragraph/TypefaceFontProvider.js +0 -2
- package/lib/module/skia/types/Paragraph/TypefaceFontProvider.js.map +0 -1
- package/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +0 -4
- package/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.js +0 -2
- package/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.js.map +0 -1
- package/lib/module/skia/types/Paragraph/index.d.ts +0 -6
- package/lib/module/skia/types/Paragraph/index.js +0 -7
- package/lib/module/skia/types/Paragraph/index.js.map +0 -1
- package/lib/module/skia/types/Path/Path.d.ts +0 -475
- package/lib/module/skia/types/Path/Path.js +0 -30
- package/lib/module/skia/types/Path/Path.js.map +0 -1
- package/lib/module/skia/types/Path/PathFactory.d.ts +0 -29
- package/lib/module/skia/types/Path/PathFactory.js +0 -2
- package/lib/module/skia/types/Path/PathFactory.js.map +0 -1
- package/lib/module/skia/types/Path/index.d.ts +0 -2
- package/lib/module/skia/types/Path/index.js +0 -3
- package/lib/module/skia/types/Path/index.js.map +0 -1
- package/lib/module/skia/types/PathEffect.d.ts +0 -75
- package/lib/module/skia/types/PathEffect.js +0 -8
- package/lib/module/skia/types/PathEffect.js.map +0 -1
- package/lib/module/skia/types/Picture/Picture.d.ts +0 -27
- package/lib/module/skia/types/Picture/Picture.js +0 -2
- package/lib/module/skia/types/Picture/Picture.js.map +0 -1
- package/lib/module/skia/types/Picture/PictureFactory.d.ts +0 -8
- package/lib/module/skia/types/Picture/PictureFactory.js +0 -2
- package/lib/module/skia/types/Picture/PictureFactory.js.map +0 -1
- package/lib/module/skia/types/Picture/PictureRecorder.d.ts +0 -15
- package/lib/module/skia/types/Picture/PictureRecorder.js +0 -2
- package/lib/module/skia/types/Picture/PictureRecorder.js.map +0 -1
- package/lib/module/skia/types/Picture/index.d.ts +0 -3
- package/lib/module/skia/types/Picture/index.js +0 -4
- package/lib/module/skia/types/Picture/index.js.map +0 -1
- package/lib/module/skia/types/Point.d.ts +0 -10
- package/lib/module/skia/types/Point.js +0 -7
- package/lib/module/skia/types/Point.js.map +0 -1
- package/lib/module/skia/types/RRect.d.ts +0 -16
- package/lib/module/skia/types/RRect.js +0 -5
- package/lib/module/skia/types/RRect.js.map +0 -1
- package/lib/module/skia/types/RSXform.d.ts +0 -8
- package/lib/module/skia/types/RSXform.js +0 -2
- package/lib/module/skia/types/RSXform.js.map +0 -1
- package/lib/module/skia/types/Rect.d.ts +0 -11
- package/lib/module/skia/types/Rect.js +0 -10
- package/lib/module/skia/types/Rect.js.map +0 -1
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffect.d.ts +0 -52
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffect.js +0 -2
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffect.js.map +0 -1
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +0 -10
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.js +0 -2
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.js.map +0 -1
- package/lib/module/skia/types/RuntimeEffect/index.d.ts +0 -2
- package/lib/module/skia/types/RuntimeEffect/index.js +0 -3
- package/lib/module/skia/types/RuntimeEffect/index.js.map +0 -1
- package/lib/module/skia/types/SVG/SVG.d.ts +0 -5
- package/lib/module/skia/types/SVG/SVG.js +0 -2
- package/lib/module/skia/types/SVG/SVG.js.map +0 -1
- package/lib/module/skia/types/SVG/SVGFactory.d.ts +0 -6
- package/lib/module/skia/types/SVG/SVGFactory.js +0 -2
- package/lib/module/skia/types/SVG/SVGFactory.js.map +0 -1
- package/lib/module/skia/types/SVG/index.d.ts +0 -2
- package/lib/module/skia/types/SVG/index.js +0 -3
- package/lib/module/skia/types/SVG/index.js.map +0 -1
- package/lib/module/skia/types/Shader/Shader.d.ts +0 -10
- package/lib/module/skia/types/Shader/Shader.js +0 -39
- package/lib/module/skia/types/Shader/Shader.js.map +0 -1
- package/lib/module/skia/types/Shader/ShaderFactory.d.ts +0 -104
- package/lib/module/skia/types/Shader/ShaderFactory.js +0 -2
- package/lib/module/skia/types/Shader/ShaderFactory.js.map +0 -1
- package/lib/module/skia/types/Shader/index.d.ts +0 -2
- package/lib/module/skia/types/Shader/index.js +0 -3
- package/lib/module/skia/types/Shader/index.js.map +0 -1
- package/lib/module/skia/types/Size.d.ts +0 -4
- package/lib/module/skia/types/Size.js +0 -2
- package/lib/module/skia/types/Size.js.map +0 -1
- package/lib/module/skia/types/Skia.d.ts +0 -74
- package/lib/module/skia/types/Skia.js +0 -2
- package/lib/module/skia/types/Skia.js.map +0 -1
- package/lib/module/skia/types/Surface/Surface.d.ts +0 -29
- package/lib/module/skia/types/Surface/Surface.js +0 -2
- package/lib/module/skia/types/Surface/Surface.js.map +0 -1
- package/lib/module/skia/types/Surface/SurfaceFactory.d.ts +0 -17
- package/lib/module/skia/types/Surface/SurfaceFactory.js +0 -2
- package/lib/module/skia/types/Surface/SurfaceFactory.js.map +0 -1
- package/lib/module/skia/types/Surface/index.d.ts +0 -2
- package/lib/module/skia/types/Surface/index.js +0 -3
- package/lib/module/skia/types/Surface/index.js.map +0 -1
- package/lib/module/skia/types/TextBlob.d.ts +0 -44
- package/lib/module/skia/types/TextBlob.js +0 -2
- package/lib/module/skia/types/TextBlob.js.map +0 -1
- package/lib/module/skia/types/Typeface/Typeface.d.ts +0 -11
- package/lib/module/skia/types/Typeface/Typeface.js +0 -2
- package/lib/module/skia/types/Typeface/Typeface.js.map +0 -1
- package/lib/module/skia/types/Typeface/TypefaceFactory.d.ts +0 -5
- package/lib/module/skia/types/Typeface/TypefaceFactory.js +0 -2
- package/lib/module/skia/types/Typeface/TypefaceFactory.js.map +0 -1
- package/lib/module/skia/types/Typeface/index.d.ts +0 -2
- package/lib/module/skia/types/Typeface/index.js +0 -3
- package/lib/module/skia/types/Typeface/index.js.map +0 -1
- package/lib/module/skia/types/Vertices/Vertices.d.ts +0 -17
- package/lib/module/skia/types/Vertices/Vertices.js +0 -7
- package/lib/module/skia/types/Vertices/Vertices.js.map +0 -1
- package/lib/module/skia/types/Vertices/index.d.ts +0 -1
- package/lib/module/skia/types/Vertices/index.js +0 -2
- package/lib/module/skia/types/Vertices/index.js.map +0 -1
- package/lib/module/skia/types/index.d.ts +0 -31
- package/lib/module/skia/types/index.js +0 -32
- package/lib/module/skia/types/index.js.map +0 -1
- package/lib/module/skia/web/Host.d.ts +0 -20
- package/lib/module/skia/web/Host.js +0 -33
- package/lib/module/skia/web/Host.js.map +0 -1
- package/lib/module/skia/web/JsiSkAnimatedImage.d.ts +0 -11
- package/lib/module/skia/web/JsiSkAnimatedImage.js +0 -27
- package/lib/module/skia/web/JsiSkAnimatedImage.js.map +0 -1
- package/lib/module/skia/web/JsiSkAnimatedImageFactory.d.ts +0 -9
- package/lib/module/skia/web/JsiSkAnimatedImageFactory.js +0 -16
- package/lib/module/skia/web/JsiSkAnimatedImageFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkCanvas.d.ts +0 -47
- package/lib/module/skia/web/JsiSkCanvas.js +0 -169
- package/lib/module/skia/web/JsiSkCanvas.js.map +0 -1
- package/lib/module/skia/web/JsiSkColor.d.ts +0 -2
- package/lib/module/skia/web/JsiSkColor.js +0 -298
- package/lib/module/skia/web/JsiSkColor.js.map +0 -1
- package/lib/module/skia/web/JsiSkColorFilter.d.ts +0 -7
- package/lib/module/skia/web/JsiSkColorFilter.js +0 -13
- package/lib/module/skia/web/JsiSkColorFilter.js.map +0 -1
- package/lib/module/skia/web/JsiSkColorFilterFactory.d.ts +0 -14
- package/lib/module/skia/web/JsiSkColorFilterFactory.js +0 -29
- package/lib/module/skia/web/JsiSkColorFilterFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkContourMeasure.d.ts +0 -13
- package/lib/module/skia/web/JsiSkContourMeasure.js +0 -28
- package/lib/module/skia/web/JsiSkContourMeasure.js.map +0 -1
- package/lib/module/skia/web/JsiSkContourMeasureIter.d.ts +0 -9
- package/lib/module/skia/web/JsiSkContourMeasureIter.js +0 -21
- package/lib/module/skia/web/JsiSkContourMeasureIter.js.map +0 -1
- package/lib/module/skia/web/JsiSkData.d.ts +0 -9
- package/lib/module/skia/web/JsiSkData.js +0 -13
- package/lib/module/skia/web/JsiSkData.js.map +0 -1
- package/lib/module/skia/web/JsiSkDataFactory.d.ts +0 -19
- package/lib/module/skia/web/JsiSkDataFactory.js +0 -26
- package/lib/module/skia/web/JsiSkDataFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkFont.d.ts +0 -35
- package/lib/module/skia/web/JsiSkFont.js +0 -92
- package/lib/module/skia/web/JsiSkFont.js.map +0 -1
- package/lib/module/skia/web/JsiSkFontMgr.d.ts +0 -10
- package/lib/module/skia/web/JsiSkFontMgr.js +0 -19
- package/lib/module/skia/web/JsiSkFontMgr.js.map +0 -1
- package/lib/module/skia/web/JsiSkFontMgrFactory.d.ts +0 -8
- package/lib/module/skia/web/JsiSkFontMgrFactory.js +0 -15
- package/lib/module/skia/web/JsiSkFontMgrFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkImage.d.ts +0 -17
- package/lib/module/skia/web/JsiSkImage.js +0 -96
- package/lib/module/skia/web/JsiSkImage.js.map +0 -1
- package/lib/module/skia/web/JsiSkImageFactory.d.ts +0 -11
- package/lib/module/skia/web/JsiSkImageFactory.js +0 -36
- package/lib/module/skia/web/JsiSkImageFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkImageFilter.d.ts +0 -7
- package/lib/module/skia/web/JsiSkImageFilter.js +0 -13
- package/lib/module/skia/web/JsiSkImageFilter.js.map +0 -1
- package/lib/module/skia/web/JsiSkImageFilterFactory.d.ts +0 -19
- package/lib/module/skia/web/JsiSkImageFilterFactory.js +0 -75
- package/lib/module/skia/web/JsiSkImageFilterFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkMaskFilter.d.ts +0 -7
- package/lib/module/skia/web/JsiSkMaskFilter.js +0 -13
- package/lib/module/skia/web/JsiSkMaskFilter.js.map +0 -1
- package/lib/module/skia/web/JsiSkMaskFilterFactory.d.ts +0 -9
- package/lib/module/skia/web/JsiSkMaskFilterFactory.js +0 -11
- package/lib/module/skia/web/JsiSkMaskFilterFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkMatrix.d.ts +0 -20
- package/lib/module/skia/web/JsiSkMatrix.js +0 -66
- package/lib/module/skia/web/JsiSkMatrix.js.map +0 -1
- package/lib/module/skia/web/JsiSkPaint.d.ts +0 -30
- package/lib/module/skia/web/JsiSkPaint.js +0 -89
- package/lib/module/skia/web/JsiSkPaint.js.map +0 -1
- package/lib/module/skia/web/JsiSkParagraph.d.ts +0 -19
- package/lib/module/skia/web/JsiSkParagraph.js +0 -70
- package/lib/module/skia/web/JsiSkParagraph.js.map +0 -1
- package/lib/module/skia/web/JsiSkParagraphBuilder.d.ts +0 -15
- package/lib/module/skia/web/JsiSkParagraphBuilder.js +0 -56
- package/lib/module/skia/web/JsiSkParagraphBuilder.js.map +0 -1
- package/lib/module/skia/web/JsiSkParagraphBuilderFactory.d.ts +0 -8
- package/lib/module/skia/web/JsiSkParagraphBuilderFactory.js +0 -20
- package/lib/module/skia/web/JsiSkParagraphBuilderFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkParagraphStyle.d.ts +0 -5
- package/lib/module/skia/web/JsiSkParagraphStyle.js +0 -47
- package/lib/module/skia/web/JsiSkParagraphStyle.js.map +0 -1
- package/lib/module/skia/web/JsiSkPath.d.ts +0 -58
- package/lib/module/skia/web/JsiSkPath.js +0 -256
- package/lib/module/skia/web/JsiSkPath.js.map +0 -1
- package/lib/module/skia/web/JsiSkPathEffect.d.ts +0 -7
- package/lib/module/skia/web/JsiSkPathEffect.js +0 -13
- package/lib/module/skia/web/JsiSkPathEffect.js.map +0 -1
- package/lib/module/skia/web/JsiSkPathEffectFactory.d.ts +0 -15
- package/lib/module/skia/web/JsiSkPathEffectFactory.js +0 -52
- package/lib/module/skia/web/JsiSkPathEffectFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkPathFactory.d.ts +0 -13
- package/lib/module/skia/web/JsiSkPathFactory.js +0 -35
- package/lib/module/skia/web/JsiSkPathFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkPicture.d.ts +0 -10
- package/lib/module/skia/web/JsiSkPicture.js +0 -24
- package/lib/module/skia/web/JsiSkPicture.js.map +0 -1
- package/lib/module/skia/web/JsiSkPictureFactory.d.ts +0 -8
- package/lib/module/skia/web/JsiSkPictureFactory.js +0 -15
- package/lib/module/skia/web/JsiSkPictureFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkPictureRecorder.d.ts +0 -12
- package/lib/module/skia/web/JsiSkPictureRecorder.js +0 -22
- package/lib/module/skia/web/JsiSkPictureRecorder.js.map +0 -1
- package/lib/module/skia/web/JsiSkPoint.d.ts +0 -10
- package/lib/module/skia/web/JsiSkPoint.js +0 -25
- package/lib/module/skia/web/JsiSkPoint.js.map +0 -1
- package/lib/module/skia/web/JsiSkRRect.d.ts +0 -12
- package/lib/module/skia/web/JsiSkRRect.js +0 -43
- package/lib/module/skia/web/JsiSkRRect.js.map +0 -1
- package/lib/module/skia/web/JsiSkRSXform.d.ts +0 -14
- package/lib/module/skia/web/JsiSkRSXform.js +0 -37
- package/lib/module/skia/web/JsiSkRSXform.js.map +0 -1
- package/lib/module/skia/web/JsiSkRect.d.ts +0 -13
- package/lib/module/skia/web/JsiSkRect.js +0 -37
- package/lib/module/skia/web/JsiSkRect.js.map +0 -1
- package/lib/module/skia/web/JsiSkRuntimeEffect.d.ts +0 -17
- package/lib/module/skia/web/JsiSkRuntimeEffect.js +0 -37
- package/lib/module/skia/web/JsiSkRuntimeEffect.js.map +0 -1
- package/lib/module/skia/web/JsiSkRuntimeEffectFactory.d.ts +0 -8
- package/lib/module/skia/web/JsiSkRuntimeEffectFactory.js +0 -15
- package/lib/module/skia/web/JsiSkRuntimeEffectFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkSVGFactory.d.ts +0 -9
- package/lib/module/skia/web/JsiSkSVGFactory.js +0 -13
- package/lib/module/skia/web/JsiSkSVGFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkShader.d.ts +0 -7
- package/lib/module/skia/web/JsiSkShader.js +0 -13
- package/lib/module/skia/web/JsiSkShader.js.map +0 -1
- package/lib/module/skia/web/JsiSkShaderFactory.d.ts +0 -16
- package/lib/module/skia/web/JsiSkShaderFactory.js +0 -34
- package/lib/module/skia/web/JsiSkShaderFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkSurface.d.ts +0 -10
- package/lib/module/skia/web/JsiSkSurface.js +0 -26
- package/lib/module/skia/web/JsiSkSurface.js.map +0 -1
- package/lib/module/skia/web/JsiSkSurfaceFactory.d.ts +0 -9
- package/lib/module/skia/web/JsiSkSurfaceFactory.js +0 -36
- package/lib/module/skia/web/JsiSkSurfaceFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkTextBlob.d.ts +0 -7
- package/lib/module/skia/web/JsiSkTextBlob.js +0 -13
- package/lib/module/skia/web/JsiSkTextBlob.js.map +0 -1
- package/lib/module/skia/web/JsiSkTextBlobFactory.d.ts +0 -13
- package/lib/module/skia/web/JsiSkTextBlobFactory.js +0 -23
- package/lib/module/skia/web/JsiSkTextBlobFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkTextStyle.d.ts +0 -5
- package/lib/module/skia/web/JsiSkTextStyle.js +0 -44
- package/lib/module/skia/web/JsiSkTextStyle.js.map +0 -1
- package/lib/module/skia/web/JsiSkTypeface.d.ts +0 -10
- package/lib/module/skia/web/JsiSkTypeface.js +0 -24
- package/lib/module/skia/web/JsiSkTypeface.js.map +0 -1
- package/lib/module/skia/web/JsiSkTypefaceFactory.d.ts +0 -8
- package/lib/module/skia/web/JsiSkTypefaceFactory.js +0 -15
- package/lib/module/skia/web/JsiSkTypefaceFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.d.ts +0 -13
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.js +0 -69
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.js.map +0 -1
- package/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +0 -7
- package/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.js +0 -12
- package/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkVertices.d.ts +0 -10
- package/lib/module/skia/web/JsiSkVertices.js +0 -20
- package/lib/module/skia/web/JsiSkVertices.js.map +0 -1
- package/lib/module/skia/web/JsiSkVerticesFactory.d.ts +0 -4
- package/lib/module/skia/web/JsiSkVerticesFactory.js +0 -23
- package/lib/module/skia/web/JsiSkVerticesFactory.js.map +0 -1
- package/lib/module/skia/web/JsiSkia.d.ts +0 -3
- package/lib/module/skia/web/JsiSkia.js +0 -77
- package/lib/module/skia/web/JsiSkia.js.map +0 -1
- package/lib/module/skia/web/index.d.ts +0 -1
- package/lib/module/skia/web/index.js +0 -2
- package/lib/module/skia/web/index.js.map +0 -1
- package/lib/module/specs/NativeSkiaModule.d.ts +0 -6
- package/lib/module/specs/NativeSkiaModule.js +0 -4
- package/lib/module/specs/NativeSkiaModule.js.map +0 -1
- package/lib/module/specs/NativeSkiaModule.web.d.ts +0 -2
- package/lib/module/specs/NativeSkiaModule.web.js +0 -5
- package/lib/module/specs/NativeSkiaModule.web.js.map +0 -1
- package/lib/module/specs/SkiaDomViewNativeComponent.d.ts +0 -8
- package/lib/module/specs/SkiaDomViewNativeComponent.js +0 -4
- package/lib/module/specs/SkiaDomViewNativeComponent.js.map +0 -1
- package/lib/module/specs/SkiaPictureViewNativeComponent.d.ts +0 -8
- package/lib/module/specs/SkiaPictureViewNativeComponent.js +0 -4
- package/lib/module/specs/SkiaPictureViewNativeComponent.js.map +0 -1
- package/lib/module/views/SkiaBaseWebView.d.ts +0 -60
- package/lib/module/views/SkiaBaseWebView.js +0 -178
- package/lib/module/views/SkiaBaseWebView.js.map +0 -1
- package/lib/module/views/SkiaDomView.d.ts +0 -24
- package/lib/module/views/SkiaDomView.js +0 -103
- package/lib/module/views/SkiaDomView.js.map +0 -1
- package/lib/module/views/SkiaDomView.web.d.ts +0 -7
- package/lib/module/views/SkiaDomView.web.js +0 -28
- package/lib/module/views/SkiaDomView.web.js.map +0 -1
- package/lib/module/views/SkiaJSDomView.d.ts +0 -31
- package/lib/module/views/SkiaJSDomView.js +0 -120
- package/lib/module/views/SkiaJSDomView.js.map +0 -1
- package/lib/module/views/SkiaJSDomView.web.d.ts +0 -1
- package/lib/module/views/SkiaJSDomView.web.js +0 -2
- package/lib/module/views/SkiaJSDomView.web.js.map +0 -1
- package/lib/module/views/SkiaPictureView.d.ts +0 -20
- package/lib/module/views/SkiaPictureView.js +0 -82
- package/lib/module/views/SkiaPictureView.js.map +0 -1
- package/lib/module/views/SkiaPictureView.web.d.ts +0 -7
- package/lib/module/views/SkiaPictureView.web.js +0 -12
- package/lib/module/views/SkiaPictureView.web.js.map +0 -1
- package/lib/module/views/SkiaViewNativeId.d.ts +0 -3
- package/lib/module/views/SkiaViewNativeId.js +0 -4
- package/lib/module/views/SkiaViewNativeId.js.map +0 -1
- package/lib/module/views/api.d.ts +0 -5
- package/lib/module/views/api.js +0 -4
- package/lib/module/views/api.js.map +0 -1
- package/lib/module/views/index.d.ts +0 -4
- package/lib/module/views/index.js +0 -5
- package/lib/module/views/index.js.map +0 -1
- package/lib/module/views/types.d.ts +0 -79
- package/lib/module/views/types.js +0 -12
- package/lib/module/views/types.js.map +0 -1
- package/lib/module/views/useTouchHandler.d.ts +0 -22
- package/lib/module/views/useTouchHandler.js +0 -75
- package/lib/module/views/useTouchHandler.js.map +0 -1
- package/lib/module/web/LoadSkiaWeb.d.ts +0 -6
- package/lib/module/web/LoadSkiaWeb.js +0 -19
- package/lib/module/web/LoadSkiaWeb.js.map +0 -1
- package/lib/module/web/WithSkiaWeb.d.ts +0 -12
- package/lib/module/web/WithSkiaWeb.js +0 -24
- package/lib/module/web/WithSkiaWeb.js.map +0 -1
- package/lib/module/web/index.d.ts +0 -2
- package/lib/module/web/index.js +0 -3
- package/lib/module/web/index.js.map +0 -1
- package/lib/typescript/index.d.ts +0 -1
- package/lib/typescript/jestEnv.d.mts +0 -5
- package/lib/typescript/jestSetup.d.mts +0 -1
- package/lib/typescript/jestSetup.d.ts +0 -1
- package/lib/typescript/src/Platform/IPlatform.d.ts +0 -10
- package/lib/typescript/src/Platform/Platform.d.ts +0 -2
- package/lib/typescript/src/Platform/Platform.web.d.ts +0 -2
- package/lib/typescript/src/Platform/index.d.ts +0 -1
- package/lib/typescript/src/animation/functions/index.d.ts +0 -4
- package/lib/typescript/src/animation/functions/interpolate.d.ts +0 -17
- package/lib/typescript/src/animation/functions/interpolateColors.d.ts +0 -3
- package/lib/typescript/src/animation/functions/interpolatePaths.d.ts +0 -19
- package/lib/typescript/src/animation/functions/interpolateVector.d.ts +0 -10
- package/lib/typescript/src/animation/index.d.ts +0 -1
- package/lib/typescript/src/dom/nodes/DrawingNode.d.ts +0 -14
- package/lib/typescript/src/dom/nodes/GroupNode.d.ts +0 -7
- package/lib/typescript/src/dom/nodes/JsiSkDOM.d.ts +0 -68
- package/lib/typescript/src/dom/nodes/LayerNode.d.ts +0 -8
- package/lib/typescript/src/dom/nodes/Node.d.ts +0 -35
- package/lib/typescript/src/dom/nodes/PaintNode.d.ts +0 -8
- package/lib/typescript/src/dom/nodes/RenderNode.d.ts +0 -26
- package/lib/typescript/src/dom/nodes/datatypes/Circle.d.ts +0 -7
- package/lib/typescript/src/dom/nodes/datatypes/Enum.d.ts +0 -1
- package/lib/typescript/src/dom/nodes/datatypes/Fitting.d.ts +0 -33
- package/lib/typescript/src/dom/nodes/datatypes/Gradient.d.ts +0 -252
- package/lib/typescript/src/dom/nodes/datatypes/Path.d.ts +0 -4
- package/lib/typescript/src/dom/nodes/datatypes/Radius.d.ts +0 -3
- package/lib/typescript/src/dom/nodes/datatypes/Rect.d.ts +0 -5
- package/lib/typescript/src/dom/nodes/datatypes/Transform.d.ts +0 -3
- package/lib/typescript/src/dom/nodes/datatypes/index.d.ts +0 -8
- package/lib/typescript/src/dom/nodes/drawings/AtlasNode.d.ts +0 -8
- package/lib/typescript/src/dom/nodes/drawings/BackdropFilterNode.d.ts +0 -8
- package/lib/typescript/src/dom/nodes/drawings/Box.d.ts +0 -15
- package/lib/typescript/src/dom/nodes/drawings/CircleNode.d.ts +0 -9
- package/lib/typescript/src/dom/nodes/drawings/DiffRectNode.d.ts +0 -8
- package/lib/typescript/src/dom/nodes/drawings/FillNode.d.ts +0 -8
- package/lib/typescript/src/dom/nodes/drawings/ImageNode.d.ts +0 -25
- package/lib/typescript/src/dom/nodes/drawings/ImageSVG.d.ts +0 -13
- package/lib/typescript/src/dom/nodes/drawings/LineNode.d.ts +0 -8
- package/lib/typescript/src/dom/nodes/drawings/OvalNode.d.ts +0 -9
- package/lib/typescript/src/dom/nodes/drawings/ParagraphNode.d.ts +0 -8
- package/lib/typescript/src/dom/nodes/drawings/PatchNode.d.ts +0 -18
- package/lib/typescript/src/dom/nodes/drawings/PathNode.d.ts +0 -9
- package/lib/typescript/src/dom/nodes/drawings/PictureNode.d.ts +0 -8
- package/lib/typescript/src/dom/nodes/drawings/PointsNode.d.ts +0 -8
- package/lib/typescript/src/dom/nodes/drawings/RRectNode.d.ts +0 -10
- package/lib/typescript/src/dom/nodes/drawings/RectNode.d.ts +0 -9
- package/lib/typescript/src/dom/nodes/drawings/Text.d.ts +0 -30
- package/lib/typescript/src/dom/nodes/drawings/VerticesNode.d.ts +0 -9
- package/lib/typescript/src/dom/nodes/drawings/index.d.ts +0 -18
- package/lib/typescript/src/dom/nodes/index.d.ts +0 -3
- package/lib/typescript/src/dom/nodes/paint/BlendNode.d.ts +0 -8
- package/lib/typescript/src/dom/nodes/paint/ColorFilters.d.ts +0 -35
- package/lib/typescript/src/dom/nodes/paint/ImageFilters.d.ts +0 -42
- package/lib/typescript/src/dom/nodes/paint/MaskFilters.d.ts +0 -8
- package/lib/typescript/src/dom/nodes/paint/PathEffects.d.ts +0 -39
- package/lib/typescript/src/dom/nodes/paint/Shaders.d.ts +0 -43
- package/lib/typescript/src/dom/nodes/paint/index.d.ts +0 -6
- package/lib/typescript/src/dom/types/ColorFilters.d.ts +0 -12
- package/lib/typescript/src/dom/types/Common.d.ts +0 -57
- package/lib/typescript/src/dom/types/DeclarationContext.d.ts +0 -29
- package/lib/typescript/src/dom/types/DrawingContext.d.ts +0 -22
- package/lib/typescript/src/dom/types/Drawings.d.ts +0 -111
- package/lib/typescript/src/dom/types/ImageFilters.d.ts +0 -37
- package/lib/typescript/src/dom/types/MaskFilters.d.ts +0 -7
- package/lib/typescript/src/dom/types/Node.d.ts +0 -23
- package/lib/typescript/src/dom/types/NodeType.d.ts +0 -68
- package/lib/typescript/src/dom/types/Paragraph.d.ts +0 -8
- package/lib/typescript/src/dom/types/PathEffects.d.ts +0 -28
- package/lib/typescript/src/dom/types/Shaders.d.ts +0 -59
- package/lib/typescript/src/dom/types/SkDOM.d.ts +0 -73
- package/lib/typescript/src/dom/types/index.d.ts +0 -13
- package/lib/typescript/src/external/index.d.ts +0 -1
- package/lib/typescript/src/external/reanimated/buffers.d.ts +0 -7
- package/lib/typescript/src/external/reanimated/index.d.ts +0 -6
- package/lib/typescript/src/external/reanimated/interpolators.d.ts +0 -10
- package/lib/typescript/src/external/reanimated/moduleWrapper.d.ts +0 -14
- package/lib/typescript/src/external/reanimated/renderHelpers.d.ts +0 -6
- package/lib/typescript/src/external/reanimated/textures.d.ts +0 -8
- package/lib/typescript/src/external/reanimated/useAnimatedImageValue.d.ts +0 -2
- package/lib/typescript/src/external/reanimated/useDerivedValueOnJS.d.ts +0 -1
- package/lib/typescript/src/headless/index.d.ts +0 -5
- package/lib/typescript/src/index.d.ts +0 -11
- package/lib/typescript/src/mock/index.d.ts +0 -2
- package/lib/typescript/src/renderer/Canvas.d.ts +0 -11
- package/lib/typescript/src/renderer/Container.d.ts +0 -11
- package/lib/typescript/src/renderer/DrawingContext.d.ts +0 -7
- package/lib/typescript/src/renderer/HostComponents.d.ts +0 -132
- package/lib/typescript/src/renderer/HostConfig.d.ts +0 -19
- package/lib/typescript/src/renderer/Offscreen.d.ts +0 -6
- package/lib/typescript/src/renderer/Reconciler.d.ts +0 -10
- package/lib/typescript/src/renderer/components/Blend.d.ts +0 -4
- package/lib/typescript/src/renderer/components/Group.d.ts +0 -8
- package/lib/typescript/src/renderer/components/Mask.d.ts +0 -10
- package/lib/typescript/src/renderer/components/Paint.d.ts +0 -4
- package/lib/typescript/src/renderer/components/Picture.d.ts +0 -4
- package/lib/typescript/src/renderer/components/backdrop/BackdropBlur.d.ts +0 -9
- package/lib/typescript/src/renderer/components/backdrop/BackdropFilter.d.ts +0 -8
- package/lib/typescript/src/renderer/components/backdrop/index.d.ts +0 -2
- package/lib/typescript/src/renderer/components/colorFilters/BlendColor.d.ts +0 -4
- package/lib/typescript/src/renderer/components/colorFilters/Lerp.d.ts +0 -4
- package/lib/typescript/src/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +0 -4
- package/lib/typescript/src/renderer/components/colorFilters/LumaColorFilter.d.ts +0 -4
- package/lib/typescript/src/renderer/components/colorFilters/Matrix.d.ts +0 -5
- package/lib/typescript/src/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +0 -4
- package/lib/typescript/src/renderer/components/colorFilters/index.d.ts +0 -6
- package/lib/typescript/src/renderer/components/image/Image.d.ts +0 -4
- package/lib/typescript/src/renderer/components/image/ImageSVG.d.ts +0 -4
- package/lib/typescript/src/renderer/components/image/ImageShader.d.ts +0 -4
- package/lib/typescript/src/renderer/components/image/index.d.ts +0 -3
- package/lib/typescript/src/renderer/components/imageFilters/Blur.d.ts +0 -4
- package/lib/typescript/src/renderer/components/imageFilters/DisplacementMap.d.ts +0 -4
- package/lib/typescript/src/renderer/components/imageFilters/Morphology.d.ts +0 -4
- package/lib/typescript/src/renderer/components/imageFilters/Offset.d.ts +0 -4
- package/lib/typescript/src/renderer/components/imageFilters/RuntimeShader.d.ts +0 -4
- package/lib/typescript/src/renderer/components/imageFilters/Shadow.d.ts +0 -4
- package/lib/typescript/src/renderer/components/imageFilters/index.d.ts +0 -6
- package/lib/typescript/src/renderer/components/index.d.ts +0 -16
- package/lib/typescript/src/renderer/components/maskFilters/Blur.d.ts +0 -4
- package/lib/typescript/src/renderer/components/maskFilters/index.d.ts +0 -1
- package/lib/typescript/src/renderer/components/paragraph/Paragraph.d.ts +0 -4
- package/lib/typescript/src/renderer/components/paragraph/index.d.ts +0 -1
- package/lib/typescript/src/renderer/components/pathEffects/Corner.d.ts +0 -4
- package/lib/typescript/src/renderer/components/pathEffects/Dash.d.ts +0 -4
- package/lib/typescript/src/renderer/components/pathEffects/Discrete.d.ts +0 -4
- package/lib/typescript/src/renderer/components/pathEffects/Line2D.d.ts +0 -4
- package/lib/typescript/src/renderer/components/pathEffects/Path1D.d.ts +0 -4
- package/lib/typescript/src/renderer/components/pathEffects/Path2D.d.ts +0 -4
- package/lib/typescript/src/renderer/components/pathEffects/Sum.d.ts +0 -3
- package/lib/typescript/src/renderer/components/pathEffects/index.d.ts +0 -7
- package/lib/typescript/src/renderer/components/shaders/Color.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shaders/FractalNoise.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shaders/LinearGradient.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shaders/RadialGradient.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shaders/Shader.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shaders/ShaderLib.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shaders/SweepGradient.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shaders/Turbulence.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shaders/TwoPointConicalGradient.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shaders/index.d.ts +0 -9
- package/lib/typescript/src/renderer/components/shapes/Atlas.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shapes/Box.d.ts +0 -5
- package/lib/typescript/src/renderer/components/shapes/Circle.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shapes/DiffRect.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shapes/Fill.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shapes/FitBox.d.ts +0 -21
- package/lib/typescript/src/renderer/components/shapes/Line.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shapes/Oval.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shapes/Patch.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shapes/Path.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shapes/Points.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shapes/Rect.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shapes/RoundedRect.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shapes/Vertices.d.ts +0 -4
- package/lib/typescript/src/renderer/components/shapes/index.d.ts +0 -14
- package/lib/typescript/src/renderer/components/text/Glyphs.d.ts +0 -4
- package/lib/typescript/src/renderer/components/text/Text.d.ts +0 -4
- package/lib/typescript/src/renderer/components/text/TextBlob.d.ts +0 -4
- package/lib/typescript/src/renderer/components/text/TextPath.d.ts +0 -4
- package/lib/typescript/src/renderer/components/text/index.d.ts +0 -4
- package/lib/typescript/src/renderer/index.d.ts +0 -1
- package/lib/typescript/src/renderer/processors/Animations/Animations.d.ts +0 -13
- package/lib/typescript/src/renderer/processors/Animations/index.d.ts +0 -1
- package/lib/typescript/src/renderer/processors/index.d.ts +0 -2
- package/lib/typescript/src/renderer/processors/math/Coordinates.d.ts +0 -29
- package/lib/typescript/src/renderer/processors/math/Math.d.ts +0 -16
- package/lib/typescript/src/renderer/processors/math/Transforms.d.ts +0 -5
- package/lib/typescript/src/renderer/processors/math/index.d.ts +0 -3
- package/lib/typescript/src/renderer/typeddash.d.ts +0 -3
- package/lib/typescript/src/skia/NativeSetup.d.ts +0 -1
- package/lib/typescript/src/skia/Skia.d.ts +0 -8
- package/lib/typescript/src/skia/Skia.web.d.ts +0 -1
- package/lib/typescript/src/skia/core/AnimatedImage.d.ts +0 -5
- package/lib/typescript/src/skia/core/Data.d.ts +0 -5
- package/lib/typescript/src/skia/core/Font.d.ts +0 -18
- package/lib/typescript/src/skia/core/Image.d.ts +0 -17
- package/lib/typescript/src/skia/core/Matrix.d.ts +0 -2
- package/lib/typescript/src/skia/core/Picture.d.ts +0 -8
- package/lib/typescript/src/skia/core/RRect.d.ts +0 -2
- package/lib/typescript/src/skia/core/Rect.d.ts +0 -8
- package/lib/typescript/src/skia/core/SVG.d.ts +0 -2
- package/lib/typescript/src/skia/core/Typeface.d.ts +0 -5
- package/lib/typescript/src/skia/core/Vector.d.ts +0 -7
- package/lib/typescript/src/skia/core/index.d.ts +0 -11
- package/lib/typescript/src/skia/index.d.ts +0 -3
- package/lib/typescript/src/skia/types/AnimatedImage/AnimatedImage.d.ts +0 -24
- package/lib/typescript/src/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +0 -13
- package/lib/typescript/src/skia/types/AnimatedImage/index.d.ts +0 -2
- package/lib/typescript/src/skia/types/Canvas.d.ts +0 -404
- package/lib/typescript/src/skia/types/Color.d.ts +0 -2
- package/lib/typescript/src/skia/types/ColorFilter/ColorFilter.d.ts +0 -3
- package/lib/typescript/src/skia/types/ColorFilter/ColorFilterFactory.d.ts +0 -43
- package/lib/typescript/src/skia/types/ColorFilter/index.d.ts +0 -2
- package/lib/typescript/src/skia/types/ContourMeasure.d.ts +0 -41
- package/lib/typescript/src/skia/types/Data/Data.d.ts +0 -12
- package/lib/typescript/src/skia/types/Data/DataFactory.d.ts +0 -18
- package/lib/typescript/src/skia/types/Data/index.d.ts +0 -2
- package/lib/typescript/src/skia/types/Font/Font.d.ts +0 -189
- package/lib/typescript/src/skia/types/Font/FontMgr.d.ts +0 -8
- package/lib/typescript/src/skia/types/Font/FontMgrFactory.d.ts +0 -4
- package/lib/typescript/src/skia/types/Font/index.d.ts +0 -3
- package/lib/typescript/src/skia/types/Image/Image.d.ts +0 -102
- package/lib/typescript/src/skia/types/Image/ImageFactory.d.ts +0 -73
- package/lib/typescript/src/skia/types/Image/index.d.ts +0 -2
- package/lib/typescript/src/skia/types/ImageFilter/ImageFilter.d.ts +0 -23
- package/lib/typescript/src/skia/types/ImageFilter/ImageFilterFactory.d.ts +0 -130
- package/lib/typescript/src/skia/types/ImageFilter/index.d.ts +0 -2
- package/lib/typescript/src/skia/types/JsiInstance.d.ts +0 -4
- package/lib/typescript/src/skia/types/MaskFilter.d.ts +0 -21
- package/lib/typescript/src/skia/types/Matrix.d.ts +0 -23
- package/lib/typescript/src/skia/types/Matrix4.d.ts +0 -103
- package/lib/typescript/src/skia/types/Paint/BlendMode.d.ts +0 -58
- package/lib/typescript/src/skia/types/Paint/Paint.d.ts +0 -141
- package/lib/typescript/src/skia/types/Paint/index.d.ts +0 -2
- package/lib/typescript/src/skia/types/Paragraph/Paragraph.d.ts +0 -79
- package/lib/typescript/src/skia/types/Paragraph/ParagraphBuilder.d.ts +0 -60
- package/lib/typescript/src/skia/types/Paragraph/ParagraphStyle.d.ts +0 -41
- package/lib/typescript/src/skia/types/Paragraph/TextStyle.d.ts +0 -62
- package/lib/typescript/src/skia/types/Paragraph/TypefaceFontProvider.d.ts +0 -10
- package/lib/typescript/src/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +0 -4
- package/lib/typescript/src/skia/types/Paragraph/index.d.ts +0 -6
- package/lib/typescript/src/skia/types/Path/Path.d.ts +0 -475
- package/lib/typescript/src/skia/types/Path/PathFactory.d.ts +0 -29
- package/lib/typescript/src/skia/types/Path/index.d.ts +0 -2
- package/lib/typescript/src/skia/types/PathEffect.d.ts +0 -75
- package/lib/typescript/src/skia/types/Picture/Picture.d.ts +0 -27
- package/lib/typescript/src/skia/types/Picture/PictureFactory.d.ts +0 -8
- package/lib/typescript/src/skia/types/Picture/PictureRecorder.d.ts +0 -15
- package/lib/typescript/src/skia/types/Picture/index.d.ts +0 -3
- package/lib/typescript/src/skia/types/Point.d.ts +0 -10
- package/lib/typescript/src/skia/types/RRect.d.ts +0 -16
- package/lib/typescript/src/skia/types/RSXform.d.ts +0 -8
- package/lib/typescript/src/skia/types/Rect.d.ts +0 -11
- package/lib/typescript/src/skia/types/RuntimeEffect/RuntimeEffect.d.ts +0 -52
- package/lib/typescript/src/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +0 -10
- package/lib/typescript/src/skia/types/RuntimeEffect/index.d.ts +0 -2
- package/lib/typescript/src/skia/types/SVG/SVG.d.ts +0 -5
- package/lib/typescript/src/skia/types/SVG/SVGFactory.d.ts +0 -6
- package/lib/typescript/src/skia/types/SVG/index.d.ts +0 -2
- package/lib/typescript/src/skia/types/Shader/Shader.d.ts +0 -10
- package/lib/typescript/src/skia/types/Shader/ShaderFactory.d.ts +0 -104
- package/lib/typescript/src/skia/types/Shader/index.d.ts +0 -2
- package/lib/typescript/src/skia/types/Size.d.ts +0 -4
- package/lib/typescript/src/skia/types/Skia.d.ts +0 -74
- package/lib/typescript/src/skia/types/Surface/Surface.d.ts +0 -29
- package/lib/typescript/src/skia/types/Surface/SurfaceFactory.d.ts +0 -17
- package/lib/typescript/src/skia/types/Surface/index.d.ts +0 -2
- package/lib/typescript/src/skia/types/TextBlob.d.ts +0 -44
- package/lib/typescript/src/skia/types/Typeface/Typeface.d.ts +0 -11
- package/lib/typescript/src/skia/types/Typeface/TypefaceFactory.d.ts +0 -5
- package/lib/typescript/src/skia/types/Typeface/index.d.ts +0 -2
- package/lib/typescript/src/skia/types/Vertices/Vertices.d.ts +0 -17
- package/lib/typescript/src/skia/types/Vertices/index.d.ts +0 -1
- package/lib/typescript/src/skia/types/index.d.ts +0 -31
- package/lib/typescript/src/skia/web/Host.d.ts +0 -20
- package/lib/typescript/src/skia/web/JsiSkAnimatedImage.d.ts +0 -11
- package/lib/typescript/src/skia/web/JsiSkAnimatedImageFactory.d.ts +0 -9
- package/lib/typescript/src/skia/web/JsiSkCanvas.d.ts +0 -47
- package/lib/typescript/src/skia/web/JsiSkColor.d.ts +0 -2
- package/lib/typescript/src/skia/web/JsiSkColorFilter.d.ts +0 -7
- package/lib/typescript/src/skia/web/JsiSkColorFilterFactory.d.ts +0 -14
- package/lib/typescript/src/skia/web/JsiSkContourMeasure.d.ts +0 -13
- package/lib/typescript/src/skia/web/JsiSkContourMeasureIter.d.ts +0 -9
- package/lib/typescript/src/skia/web/JsiSkData.d.ts +0 -9
- package/lib/typescript/src/skia/web/JsiSkDataFactory.d.ts +0 -19
- package/lib/typescript/src/skia/web/JsiSkFont.d.ts +0 -35
- package/lib/typescript/src/skia/web/JsiSkFontMgr.d.ts +0 -10
- package/lib/typescript/src/skia/web/JsiSkFontMgrFactory.d.ts +0 -8
- package/lib/typescript/src/skia/web/JsiSkImage.d.ts +0 -17
- package/lib/typescript/src/skia/web/JsiSkImageFactory.d.ts +0 -11
- package/lib/typescript/src/skia/web/JsiSkImageFilter.d.ts +0 -7
- package/lib/typescript/src/skia/web/JsiSkImageFilterFactory.d.ts +0 -19
- package/lib/typescript/src/skia/web/JsiSkMaskFilter.d.ts +0 -7
- package/lib/typescript/src/skia/web/JsiSkMaskFilterFactory.d.ts +0 -9
- package/lib/typescript/src/skia/web/JsiSkMatrix.d.ts +0 -20
- package/lib/typescript/src/skia/web/JsiSkPaint.d.ts +0 -30
- package/lib/typescript/src/skia/web/JsiSkParagraph.d.ts +0 -19
- package/lib/typescript/src/skia/web/JsiSkParagraphBuilder.d.ts +0 -15
- package/lib/typescript/src/skia/web/JsiSkParagraphBuilderFactory.d.ts +0 -8
- package/lib/typescript/src/skia/web/JsiSkParagraphStyle.d.ts +0 -5
- package/lib/typescript/src/skia/web/JsiSkPath.d.ts +0 -58
- package/lib/typescript/src/skia/web/JsiSkPathEffect.d.ts +0 -7
- package/lib/typescript/src/skia/web/JsiSkPathEffectFactory.d.ts +0 -15
- package/lib/typescript/src/skia/web/JsiSkPathFactory.d.ts +0 -13
- package/lib/typescript/src/skia/web/JsiSkPicture.d.ts +0 -10
- package/lib/typescript/src/skia/web/JsiSkPictureFactory.d.ts +0 -8
- package/lib/typescript/src/skia/web/JsiSkPictureRecorder.d.ts +0 -12
- package/lib/typescript/src/skia/web/JsiSkPoint.d.ts +0 -10
- package/lib/typescript/src/skia/web/JsiSkRRect.d.ts +0 -12
- package/lib/typescript/src/skia/web/JsiSkRSXform.d.ts +0 -14
- package/lib/typescript/src/skia/web/JsiSkRect.d.ts +0 -13
- package/lib/typescript/src/skia/web/JsiSkRuntimeEffect.d.ts +0 -17
- package/lib/typescript/src/skia/web/JsiSkRuntimeEffectFactory.d.ts +0 -8
- package/lib/typescript/src/skia/web/JsiSkSVGFactory.d.ts +0 -9
- package/lib/typescript/src/skia/web/JsiSkShader.d.ts +0 -7
- package/lib/typescript/src/skia/web/JsiSkShaderFactory.d.ts +0 -16
- package/lib/typescript/src/skia/web/JsiSkSurface.d.ts +0 -10
- package/lib/typescript/src/skia/web/JsiSkSurfaceFactory.d.ts +0 -9
- package/lib/typescript/src/skia/web/JsiSkTextBlob.d.ts +0 -7
- package/lib/typescript/src/skia/web/JsiSkTextBlobFactory.d.ts +0 -13
- package/lib/typescript/src/skia/web/JsiSkTextStyle.d.ts +0 -5
- package/lib/typescript/src/skia/web/JsiSkTypeface.d.ts +0 -10
- package/lib/typescript/src/skia/web/JsiSkTypefaceFactory.d.ts +0 -8
- package/lib/typescript/src/skia/web/JsiSkTypefaceFontProvider.d.ts +0 -13
- package/lib/typescript/src/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +0 -7
- package/lib/typescript/src/skia/web/JsiSkVertices.d.ts +0 -10
- package/lib/typescript/src/skia/web/JsiSkVerticesFactory.d.ts +0 -4
- package/lib/typescript/src/skia/web/JsiSkia.d.ts +0 -3
- package/lib/typescript/src/skia/web/index.d.ts +0 -1
- package/lib/typescript/src/specs/NativeSkiaModule.d.ts +0 -6
- package/lib/typescript/src/specs/NativeSkiaModule.web.d.ts +0 -2
- package/lib/typescript/src/specs/SkiaDomViewNativeComponent.d.ts +0 -8
- package/lib/typescript/src/specs/SkiaPictureViewNativeComponent.d.ts +0 -8
- package/lib/typescript/src/views/SkiaBaseWebView.d.ts +0 -60
- package/lib/typescript/src/views/SkiaDomView.d.ts +0 -24
- package/lib/typescript/src/views/SkiaDomView.web.d.ts +0 -7
- package/lib/typescript/src/views/SkiaJSDomView.d.ts +0 -31
- package/lib/typescript/src/views/SkiaJSDomView.web.d.ts +0 -1
- package/lib/typescript/src/views/SkiaPictureView.d.ts +0 -20
- package/lib/typescript/src/views/SkiaPictureView.web.d.ts +0 -7
- package/lib/typescript/src/views/SkiaViewNativeId.d.ts +0 -3
- package/lib/typescript/src/views/api.d.ts +0 -5
- package/lib/typescript/src/views/index.d.ts +0 -4
- package/lib/typescript/src/views/types.d.ts +0 -79
- package/lib/typescript/src/views/useTouchHandler.d.ts +0 -22
- package/lib/typescript/src/web/LoadSkiaWeb.d.ts +0 -6
- package/lib/typescript/src/web/WithSkiaWeb.d.ts +0 -12
- package/lib/typescript/src/web/index.d.ts +0 -2
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["React","JsiSkSurface","Platform","TouchType","pd","PixelRatio","SkiaBaseWebView","Component","constructor","props","_props$mode","_defineProperty","createRef","createTouchHandler","Start","Active","Cancelled","End","onLayoutEvent","bind","_mode","mode","unsubscribeAll","_unsubscriptions","forEach","u","evt","CanvasKit","global","canvas","_canvasRef","current","width","clientWidth","height","clientHeight","surface","MakeWebGLCanvasSurface","Error","_surface","_canvas","getCanvas","redraw","onLayout","getSize","componentDidMount","tick","componentDidUpdate","componentWillUnmount","cancelAnimationFrame","requestId","_this$_canvasRef$curr","getContext","getExtension","loseContext","makeImageSnapshot","rect","_this$_surface","_this$_surface2","clear","TRANSPARENT","renderInCanvas","ref","flush","_redrawRequests","_this$_surface3","touches","_touches","Float32Array","of","save","scale","restore","requestAnimationFrame","setDrawMode","handleTouchEvent","touchType","push","id","pointerId","x","clientX","currentTarget","getClientRects","left","y","clientY","top","force","pressure","type","timestamp","Date","now","render","debug","viewProps","createElement","View","_extends","style","display","flex","onPointerDown","onStart","onPointerMove","onActive","onPointerUp","onEnd","onPointerCancel","onCancel","onPointerLeave","onPointerOut"],"sources":["SkiaBaseWebView.tsx"],"sourcesContent":["/* global HTMLCanvasElement */\nimport React from \"react\";\nimport type { PointerEvent } from \"react\";\nimport type { LayoutChangeEvent } from \"react-native\";\n\nimport type { SkRect, SkCanvas } from \"../skia/types\";\nimport { JsiSkSurface } from \"../skia/web/JsiSkSurface\";\nimport { Platform } from \"../Platform\";\n\nimport type { DrawMode, SkiaBaseViewProps, TouchInfo } from \"./types\";\nimport { TouchType } from \"./types\";\n\nconst pd = Platform.PixelRatio;\n\nexport abstract class SkiaBaseWebView<\n TProps extends SkiaBaseViewProps\n> extends React.Component<TProps> {\n constructor(props: TProps) {\n super(props);\n this._mode = props.mode ?? \"default\";\n }\n\n private _surface: JsiSkSurface | null = null;\n private _unsubscriptions: Array<() => void> = [];\n private _touches: Array<TouchInfo> = [];\n private _canvas: SkCanvas | null = null;\n private _canvasRef = React.createRef<HTMLCanvasElement>();\n private _mode: DrawMode;\n private _redrawRequests = 0;\n private requestId = 0;\n\n protected width = 0;\n protected height = 0;\n\n private unsubscribeAll() {\n this._unsubscriptions.forEach((u) => u());\n this._unsubscriptions = [];\n }\n\n private onLayoutEvent(evt: LayoutChangeEvent) {\n const { CanvasKit } = global;\n // Reset canvas / surface on layout change\n const canvas = this._canvasRef.current;\n if (canvas) {\n this.width = canvas.clientWidth;\n this.height = canvas.clientHeight;\n canvas.width = this.width * pd;\n canvas.height = this.height * pd;\n const surface = CanvasKit.MakeWebGLCanvasSurface(canvas);\n if (!surface) {\n throw new Error(\"Could not create surface\");\n }\n this._surface = new JsiSkSurface(CanvasKit, surface);\n this._canvas = this._surface.getCanvas();\n this.redraw();\n }\n // Call onLayout callback if it exists\n if (this.props.onLayout) {\n this.props.onLayout(evt);\n }\n }\n\n protected getSize() {\n return { width: this.width, height: this.height };\n }\n\n componentDidMount() {\n // Start render loop\n this.tick();\n }\n\n componentDidUpdate() {\n this.redraw();\n }\n\n componentWillUnmount() {\n this.unsubscribeAll();\n cancelAnimationFrame(this.requestId);\n // eslint-disable-next-line max-len\n // https://stackoverflow.com/questions/23598471/how-do-i-clean-up-and-unload-a-webgl-canvas-context-from-gpu-after-use\n // https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_lose_context\n // We delete the context, only if the context has been intialized\n if (this._surface) {\n this._canvasRef.current\n ?.getContext(\"webgl2\")\n ?.getExtension(\"WEBGL_lose_context\")\n ?.loseContext();\n }\n }\n\n /**\n * Creates a snapshot from the canvas in the surface\n * @param rect Rect to use as bounds. Optional.\n * @returns An Image object.\n */\n public makeImageSnapshot(rect?: SkRect) {\n this._canvas!.clear(CanvasKit.TRANSPARENT);\n this.renderInCanvas(this._canvas!, []);\n this._surface?.ref.flush();\n return this._surface?.makeImageSnapshot(rect);\n }\n\n /**\n * Override to render\n */\n protected abstract renderInCanvas(\n canvas: SkCanvas,\n touches: TouchInfo[]\n ): void;\n\n /**\n * Sends a redraw request to the native SkiaView.\n */\n private tick() {\n if (this._mode === \"continuous\" || this._redrawRequests > 0) {\n this._redrawRequests = 0;\n if (this._canvas) {\n const touches = [...this._touches];\n this._touches = [];\n const canvas = this._canvas!;\n canvas.clear(Float32Array.of(0, 0, 0, 0));\n canvas.save();\n canvas.scale(pd, pd);\n this.renderInCanvas(canvas, touches);\n canvas.restore();\n this._surface?.ref.flush();\n }\n }\n this.requestId = requestAnimationFrame(this.tick.bind(this));\n }\n\n public redraw() {\n this._redrawRequests++;\n }\n\n /**\n * Updates the drawing mode for the skia view. This is the same\n * as declaratively setting the mode property on the SkiaView.\n * There are two drawing modes, \"continuous\" and \"default\",\n * where the continuous mode will continuously redraw the view and\n * the default mode will only redraw when any of the regular react\n * properties are changed like size and margins.\n * @param mode Drawing mode to use.\n */\n public setDrawMode(mode: DrawMode) {\n this._mode = mode;\n this.tick();\n }\n\n private handleTouchEvent(evt: PointerEvent, touchType: TouchType) {\n this._touches.push({\n id: evt.pointerId,\n x: evt.clientX - evt.currentTarget.getClientRects()[0].left,\n y: evt.clientY - evt.currentTarget.getClientRects()[0].top,\n force: evt.pressure,\n type: touchType,\n timestamp: Date.now(),\n });\n this.redraw();\n }\n\n createTouchHandler(touchType: TouchType) {\n return (evt: PointerEvent) => this.handleTouchEvent(evt, touchType);\n }\n\n private onStart = this.createTouchHandler(TouchType.Start);\n private onActive = this.createTouchHandler(TouchType.Active);\n private onCancel = this.createTouchHandler(TouchType.Cancelled);\n private onEnd = this.createTouchHandler(TouchType.End);\n private onLayout = this.onLayoutEvent.bind(this);\n\n render() {\n const { mode, debug = false, ...viewProps } = this.props;\n return (\n <Platform.View {...viewProps} onLayout={this.onLayout}>\n <canvas\n ref={this._canvasRef}\n style={{ display: \"flex\", flex: 1 }}\n onPointerDown={this.onStart}\n onPointerMove={this.onActive}\n onPointerUp={this.onEnd}\n onPointerCancel={this.onCancel}\n onPointerLeave={this.onEnd}\n onPointerOut={this.onEnd}\n />\n </Platform.View>\n );\n }\n}\n"],"mappings":"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"}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import type { SkRect } from "../skia/types";
|
3
|
-
import type { SkiaDomViewProps } from "./types";
|
4
|
-
export declare class SkiaDomView extends React.Component<SkiaDomViewProps> {
|
5
|
-
constructor(props: SkiaDomViewProps);
|
6
|
-
private _nativeId;
|
7
|
-
get nativeId(): number;
|
8
|
-
componentDidUpdate(prevProps: SkiaDomViewProps): void;
|
9
|
-
/**
|
10
|
-
* Creates a snapshot from the canvas in the surface
|
11
|
-
* @param rect Rect to use as bounds. Optional.
|
12
|
-
* @returns An Image object.
|
13
|
-
*/
|
14
|
-
makeImageSnapshot(rect?: SkRect): import("../skia/types").SkImage;
|
15
|
-
/**
|
16
|
-
* Sends a redraw request to the native SkiaView.
|
17
|
-
*/
|
18
|
-
redraw(): void;
|
19
|
-
/**
|
20
|
-
* Clear up the dom node when unmounting to release resources.
|
21
|
-
*/
|
22
|
-
componentWillUnmount(): void;
|
23
|
-
render(): React.JSX.Element;
|
24
|
-
}
|
@@ -1,103 +0,0 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
2
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
3
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
4
|
-
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
5
|
-
import React from "react";
|
6
|
-
import { Platform } from "../Platform";
|
7
|
-
import SkiaDomViewNativeComponent from "../specs/SkiaDomViewNativeComponent";
|
8
|
-
import { SkiaViewApi } from "./api";
|
9
|
-
import { SkiaViewNativeId } from "./SkiaViewNativeId";
|
10
|
-
const NativeSkiaDomView = Platform.OS !== "web" ? SkiaDomViewNativeComponent :
|
11
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
12
|
-
null;
|
13
|
-
export class SkiaDomView extends React.Component {
|
14
|
-
constructor(props) {
|
15
|
-
super(props);
|
16
|
-
_defineProperty(this, "_nativeId", void 0);
|
17
|
-
this._nativeId = SkiaViewNativeId.current++;
|
18
|
-
const {
|
19
|
-
root,
|
20
|
-
onTouch,
|
21
|
-
onSize
|
22
|
-
} = props;
|
23
|
-
if (root) {
|
24
|
-
assertSkiaViewApi();
|
25
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "root", root);
|
26
|
-
}
|
27
|
-
if (onTouch) {
|
28
|
-
assertSkiaViewApi();
|
29
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "onTouch", onTouch);
|
30
|
-
}
|
31
|
-
if (onSize) {
|
32
|
-
assertSkiaViewApi();
|
33
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "onSize", onSize);
|
34
|
-
}
|
35
|
-
}
|
36
|
-
get nativeId() {
|
37
|
-
return this._nativeId;
|
38
|
-
}
|
39
|
-
componentDidUpdate(prevProps) {
|
40
|
-
const {
|
41
|
-
root,
|
42
|
-
onTouch,
|
43
|
-
onSize
|
44
|
-
} = this.props;
|
45
|
-
if (root !== prevProps.root) {
|
46
|
-
assertSkiaViewApi();
|
47
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "root", root);
|
48
|
-
}
|
49
|
-
if (onTouch !== prevProps.onTouch) {
|
50
|
-
assertSkiaViewApi();
|
51
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "onTouch", onTouch);
|
52
|
-
}
|
53
|
-
if (onSize !== prevProps.onSize) {
|
54
|
-
assertSkiaViewApi();
|
55
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "onSize", onSize);
|
56
|
-
}
|
57
|
-
}
|
58
|
-
|
59
|
-
/**
|
60
|
-
* Creates a snapshot from the canvas in the surface
|
61
|
-
* @param rect Rect to use as bounds. Optional.
|
62
|
-
* @returns An Image object.
|
63
|
-
*/
|
64
|
-
makeImageSnapshot(rect) {
|
65
|
-
assertSkiaViewApi();
|
66
|
-
return SkiaViewApi.makeImageSnapshot(this._nativeId, rect);
|
67
|
-
}
|
68
|
-
|
69
|
-
/**
|
70
|
-
* Sends a redraw request to the native SkiaView.
|
71
|
-
*/
|
72
|
-
redraw() {
|
73
|
-
assertSkiaViewApi();
|
74
|
-
SkiaViewApi.requestRedraw(this._nativeId);
|
75
|
-
}
|
76
|
-
|
77
|
-
/**
|
78
|
-
* Clear up the dom node when unmounting to release resources.
|
79
|
-
*/
|
80
|
-
componentWillUnmount() {
|
81
|
-
assertSkiaViewApi();
|
82
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "root", null);
|
83
|
-
}
|
84
|
-
render() {
|
85
|
-
const {
|
86
|
-
mode,
|
87
|
-
debug = false,
|
88
|
-
...viewProps
|
89
|
-
} = this.props;
|
90
|
-
return /*#__PURE__*/React.createElement(NativeSkiaDomView, _extends({
|
91
|
-
collapsable: false,
|
92
|
-
nativeID: `${this._nativeId}`,
|
93
|
-
mode: mode,
|
94
|
-
debug: debug
|
95
|
-
}, viewProps));
|
96
|
-
}
|
97
|
-
}
|
98
|
-
const assertSkiaViewApi = () => {
|
99
|
-
if (SkiaViewApi === null || SkiaViewApi.setJsiProperty === null || SkiaViewApi.callJsiMethod === null || SkiaViewApi.requestRedraw === null || SkiaViewApi.makeImageSnapshot === null) {
|
100
|
-
throw Error("Skia View Api was not found.");
|
101
|
-
}
|
102
|
-
};
|
103
|
-
//# sourceMappingURL=SkiaDomView.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["React","Platform","SkiaDomViewNativeComponent","SkiaViewApi","SkiaViewNativeId","NativeSkiaDomView","OS","SkiaDomView","Component","constructor","props","_defineProperty","_nativeId","current","root","onTouch","onSize","assertSkiaViewApi","setJsiProperty","nativeId","componentDidUpdate","prevProps","makeImageSnapshot","rect","redraw","requestRedraw","componentWillUnmount","render","mode","debug","viewProps","createElement","_extends","collapsable","nativeID","callJsiMethod","Error"],"sources":["SkiaDomView.tsx"],"sourcesContent":["import React from \"react\";\nimport type { HostComponent } from \"react-native\";\n\nimport type { SkRect } from \"../skia/types\";\nimport { Platform } from \"../Platform\";\nimport SkiaDomViewNativeComponent from \"../specs/SkiaDomViewNativeComponent\";\n\nimport { SkiaViewApi } from \"./api\";\nimport type { SkiaDomViewProps } from \"./types\";\nimport { SkiaViewNativeId } from \"./SkiaViewNativeId\";\n\nconst NativeSkiaDomView: HostComponent<SkiaDomViewProps> =\n Platform.OS !== \"web\"\n ? SkiaDomViewNativeComponent\n : // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (null as any);\n\nexport class SkiaDomView extends React.Component<SkiaDomViewProps> {\n constructor(props: SkiaDomViewProps) {\n super(props);\n this._nativeId = SkiaViewNativeId.current++;\n const { root, onTouch, onSize } = props;\n if (root) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"root\", root);\n }\n if (onTouch) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"onTouch\", onTouch);\n }\n if (onSize) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"onSize\", onSize);\n }\n }\n\n private _nativeId: number;\n\n public get nativeId() {\n return this._nativeId;\n }\n\n componentDidUpdate(prevProps: SkiaDomViewProps) {\n const { root, onTouch, onSize } = this.props;\n if (root !== prevProps.root) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"root\", root);\n }\n if (onTouch !== prevProps.onTouch) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"onTouch\", onTouch);\n }\n if (onSize !== prevProps.onSize) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"onSize\", onSize);\n }\n }\n\n /**\n * Creates a snapshot from the canvas in the surface\n * @param rect Rect to use as bounds. Optional.\n * @returns An Image object.\n */\n public makeImageSnapshot(rect?: SkRect) {\n assertSkiaViewApi();\n return SkiaViewApi.makeImageSnapshot(this._nativeId, rect);\n }\n\n /**\n * Sends a redraw request to the native SkiaView.\n */\n public redraw() {\n assertSkiaViewApi();\n SkiaViewApi.requestRedraw(this._nativeId);\n }\n\n /**\n * Clear up the dom node when unmounting to release resources.\n */\n componentWillUnmount(): void {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"root\", null);\n }\n\n render() {\n const { mode, debug = false, ...viewProps } = this.props;\n return (\n <NativeSkiaDomView\n collapsable={false}\n nativeID={`${this._nativeId}`}\n mode={mode}\n debug={debug}\n {...viewProps}\n />\n );\n }\n}\n\nconst assertSkiaViewApi = () => {\n if (\n SkiaViewApi === null ||\n SkiaViewApi.setJsiProperty === null ||\n SkiaViewApi.callJsiMethod === null ||\n SkiaViewApi.requestRedraw === null ||\n SkiaViewApi.makeImageSnapshot === null\n ) {\n throw Error(\"Skia View Api was not found.\");\n }\n};\n"],"mappings":"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"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { SkCanvas } from "../skia/types";
|
2
|
-
import { SkiaBaseWebView } from "./SkiaBaseWebView";
|
3
|
-
import type { SkiaDomViewProps, TouchInfo } from "./types";
|
4
|
-
export declare class SkiaDomView extends SkiaBaseWebView<SkiaDomViewProps> {
|
5
|
-
constructor(props: SkiaDomViewProps);
|
6
|
-
protected renderInCanvas(canvas: SkCanvas, touches: TouchInfo[]): void;
|
7
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { Skia } from "../skia";
|
2
|
-
import { JsiDrawingContext } from "../dom/types/DrawingContext";
|
3
|
-
import { SkiaBaseWebView } from "./SkiaBaseWebView";
|
4
|
-
export class SkiaDomView extends SkiaBaseWebView {
|
5
|
-
constructor(props) {
|
6
|
-
super(props);
|
7
|
-
}
|
8
|
-
renderInCanvas(canvas, touches) {
|
9
|
-
if (this.props.onTouch) {
|
10
|
-
this.props.onTouch([touches]);
|
11
|
-
}
|
12
|
-
if (this.props.onSize) {
|
13
|
-
const {
|
14
|
-
width,
|
15
|
-
height
|
16
|
-
} = this.getSize();
|
17
|
-
this.props.onSize.value = {
|
18
|
-
width,
|
19
|
-
height
|
20
|
-
};
|
21
|
-
}
|
22
|
-
if (this.props.root) {
|
23
|
-
const ctx = new JsiDrawingContext(Skia, canvas);
|
24
|
-
this.props.root.render(ctx);
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
28
|
-
//# sourceMappingURL=SkiaDomView.web.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["Skia","JsiDrawingContext","SkiaBaseWebView","SkiaDomView","constructor","props","renderInCanvas","canvas","touches","onTouch","onSize","width","height","getSize","value","root","ctx","render"],"sources":["SkiaDomView.web.tsx"],"sourcesContent":["import { Skia } from \"../skia\";\nimport type { SkCanvas } from \"../skia/types\";\nimport { JsiDrawingContext } from \"../dom/types/DrawingContext\";\n\nimport { SkiaBaseWebView } from \"./SkiaBaseWebView\";\nimport type { SkiaDomViewProps, TouchInfo } from \"./types\";\n\nexport class SkiaDomView extends SkiaBaseWebView<SkiaDomViewProps> {\n constructor(props: SkiaDomViewProps) {\n super(props);\n }\n\n protected renderInCanvas(canvas: SkCanvas, touches: TouchInfo[]): void {\n if (this.props.onTouch) {\n this.props.onTouch([touches]);\n }\n if (this.props.onSize) {\n const { width, height } = this.getSize();\n this.props.onSize.value = { width, height };\n }\n if (this.props.root) {\n const ctx = new JsiDrawingContext(Skia, canvas);\n this.props.root.render(ctx);\n }\n }\n}\n"],"mappings":"AAAA,SAASA,IAAI,QAAQ,SAAS;AAE9B,SAASC,iBAAiB,QAAQ,6BAA6B;AAE/D,SAASC,eAAe,QAAQ,mBAAmB;AAGnD,OAAO,MAAMC,WAAW,SAASD,eAAe,CAAmB;EACjEE,WAAWA,CAACC,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,CAAC;EACd;EAEUC,cAAcA,CAACC,MAAgB,EAAEC,OAAoB,EAAQ;IACrE,IAAI,IAAI,CAACH,KAAK,CAACI,OAAO,EAAE;MACtB,IAAI,CAACJ,KAAK,CAACI,OAAO,CAAC,CAACD,OAAO,CAAC,CAAC;IAC/B;IACA,IAAI,IAAI,CAACH,KAAK,CAACK,MAAM,EAAE;MACrB,MAAM;QAAEC,KAAK;QAAEC;MAAO,CAAC,GAAG,IAAI,CAACC,OAAO,CAAC,CAAC;MACxC,IAAI,CAACR,KAAK,CAACK,MAAM,CAACI,KAAK,GAAG;QAAEH,KAAK;QAAEC;MAAO,CAAC;IAC7C;IACA,IAAI,IAAI,CAACP,KAAK,CAACU,IAAI,EAAE;MACnB,MAAMC,GAAG,GAAG,IAAIf,iBAAiB,CAACD,IAAI,EAAEO,MAAM,CAAC;MAC/C,IAAI,CAACF,KAAK,CAACU,IAAI,CAACE,MAAM,CAACD,GAAG,CAAC;IAC7B;EACF;AACF"}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import type { Skia, SkRect } from "../skia/types";
|
3
|
-
import type { SkiaDomViewProps } from "./types";
|
4
|
-
export declare class SkiaJSDomView extends React.Component<SkiaDomViewProps & {
|
5
|
-
Skia: Skia;
|
6
|
-
}> {
|
7
|
-
constructor(props: SkiaDomViewProps & {
|
8
|
-
Skia: Skia;
|
9
|
-
});
|
10
|
-
private _nativeId;
|
11
|
-
get nativeId(): number;
|
12
|
-
componentDidUpdate(prevProps: SkiaDomViewProps & {
|
13
|
-
Skia: Skia;
|
14
|
-
}): void;
|
15
|
-
/**
|
16
|
-
* Creates a snapshot from the canvas in the surface
|
17
|
-
* @param rect Rect to use as bounds. Optional.
|
18
|
-
* @returns An Image object.
|
19
|
-
*/
|
20
|
-
makeImageSnapshot(rect?: SkRect): import("../skia/types").SkImage;
|
21
|
-
/**
|
22
|
-
* Sends a redraw request to the native SkiaView.
|
23
|
-
*/
|
24
|
-
redraw(): void;
|
25
|
-
private draw;
|
26
|
-
/**
|
27
|
-
* Clear up the dom node when unmounting to release resources.
|
28
|
-
*/
|
29
|
-
componentWillUnmount(): void;
|
30
|
-
render(): React.JSX.Element;
|
31
|
-
}
|
@@ -1,120 +0,0 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
2
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
3
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
4
|
-
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
5
|
-
import React from "react";
|
6
|
-
import { Platform } from "../Platform";
|
7
|
-
import SkiaPictureViewNativeComponent from "../specs/SkiaPictureViewNativeComponent";
|
8
|
-
import { JsiDrawingContext } from "../dom/types";
|
9
|
-
import { SkiaViewApi } from "./api";
|
10
|
-
import { SkiaViewNativeId } from "./SkiaViewNativeId";
|
11
|
-
const NativeSkiaPictureView = Platform.OS !== "web" ? SkiaPictureViewNativeComponent :
|
12
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
13
|
-
null;
|
14
|
-
export class SkiaJSDomView extends React.Component {
|
15
|
-
constructor(props) {
|
16
|
-
super(props);
|
17
|
-
_defineProperty(this, "_nativeId", void 0);
|
18
|
-
this._nativeId = SkiaViewNativeId.current++;
|
19
|
-
const {
|
20
|
-
root,
|
21
|
-
onTouch,
|
22
|
-
onSize
|
23
|
-
} = props;
|
24
|
-
if (root) {
|
25
|
-
assertSkiaViewApi();
|
26
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "root", root);
|
27
|
-
}
|
28
|
-
if (onTouch) {
|
29
|
-
assertSkiaViewApi();
|
30
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "onTouch", onTouch);
|
31
|
-
}
|
32
|
-
if (onSize) {
|
33
|
-
assertSkiaViewApi();
|
34
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "onSize", onSize);
|
35
|
-
}
|
36
|
-
}
|
37
|
-
get nativeId() {
|
38
|
-
return this._nativeId;
|
39
|
-
}
|
40
|
-
componentDidUpdate(prevProps) {
|
41
|
-
const {
|
42
|
-
root,
|
43
|
-
onTouch,
|
44
|
-
onSize
|
45
|
-
} = this.props;
|
46
|
-
if (root !== prevProps.root && root !== undefined) {
|
47
|
-
assertSkiaViewApi();
|
48
|
-
this.draw();
|
49
|
-
}
|
50
|
-
if (onTouch !== prevProps.onTouch) {
|
51
|
-
assertSkiaViewApi();
|
52
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "onTouch", onTouch);
|
53
|
-
}
|
54
|
-
if (onSize !== prevProps.onSize) {
|
55
|
-
assertSkiaViewApi();
|
56
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "onSize", onSize);
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
/**
|
61
|
-
* Creates a snapshot from the canvas in the surface
|
62
|
-
* @param rect Rect to use as bounds. Optional.
|
63
|
-
* @returns An Image object.
|
64
|
-
*/
|
65
|
-
makeImageSnapshot(rect) {
|
66
|
-
assertSkiaViewApi();
|
67
|
-
return SkiaViewApi.makeImageSnapshot(this._nativeId, rect);
|
68
|
-
}
|
69
|
-
|
70
|
-
/**
|
71
|
-
* Sends a redraw request to the native SkiaView.
|
72
|
-
*/
|
73
|
-
redraw() {
|
74
|
-
assertSkiaViewApi();
|
75
|
-
this.draw();
|
76
|
-
//SkiaViewApi.requestRedraw(this._nativeId);
|
77
|
-
}
|
78
|
-
draw() {
|
79
|
-
const {
|
80
|
-
root,
|
81
|
-
Skia
|
82
|
-
} = this.props;
|
83
|
-
if (root !== undefined) {
|
84
|
-
assertSkiaViewApi();
|
85
|
-
const rec = Skia.PictureRecorder();
|
86
|
-
const canvas = rec.beginRecording();
|
87
|
-
const ctx = new JsiDrawingContext(Skia, canvas);
|
88
|
-
root.render(ctx);
|
89
|
-
const picture = rec.finishRecordingAsPicture();
|
90
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "picture", picture);
|
91
|
-
}
|
92
|
-
}
|
93
|
-
|
94
|
-
/**
|
95
|
-
* Clear up the dom node when unmounting to release resources.
|
96
|
-
*/
|
97
|
-
componentWillUnmount() {
|
98
|
-
assertSkiaViewApi();
|
99
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "picture", null);
|
100
|
-
}
|
101
|
-
render() {
|
102
|
-
const {
|
103
|
-
mode,
|
104
|
-
debug = false,
|
105
|
-
...viewProps
|
106
|
-
} = this.props;
|
107
|
-
return /*#__PURE__*/React.createElement(NativeSkiaPictureView, _extends({
|
108
|
-
collapsable: false,
|
109
|
-
nativeID: `${this._nativeId}`,
|
110
|
-
mode: mode,
|
111
|
-
debug: debug
|
112
|
-
}, viewProps));
|
113
|
-
}
|
114
|
-
}
|
115
|
-
const assertSkiaViewApi = () => {
|
116
|
-
if (SkiaViewApi === null || SkiaViewApi.setJsiProperty === null || SkiaViewApi.callJsiMethod === null || SkiaViewApi.requestRedraw === null || SkiaViewApi.makeImageSnapshot === null) {
|
117
|
-
throw Error("Skia View Api was not found.");
|
118
|
-
}
|
119
|
-
};
|
120
|
-
//# sourceMappingURL=SkiaJSDomView.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["React","Platform","SkiaPictureViewNativeComponent","JsiDrawingContext","SkiaViewApi","SkiaViewNativeId","NativeSkiaPictureView","OS","SkiaJSDomView","Component","constructor","props","_defineProperty","_nativeId","current","root","onTouch","onSize","assertSkiaViewApi","setJsiProperty","nativeId","componentDidUpdate","prevProps","undefined","draw","makeImageSnapshot","rect","redraw","Skia","rec","PictureRecorder","canvas","beginRecording","ctx","render","picture","finishRecordingAsPicture","componentWillUnmount","mode","debug","viewProps","createElement","_extends","collapsable","nativeID","callJsiMethod","requestRedraw","Error"],"sources":["SkiaJSDomView.tsx"],"sourcesContent":["import React from \"react\";\nimport type { HostComponent } from \"react-native\";\n\nimport type { Skia, SkRect } from \"../skia/types\";\nimport { Platform } from \"../Platform\";\nimport SkiaPictureViewNativeComponent from \"../specs/SkiaPictureViewNativeComponent\";\nimport { JsiDrawingContext } from \"../dom/types\";\n\nimport { SkiaViewApi } from \"./api\";\nimport type { SkiaPictureViewProps, SkiaDomViewProps } from \"./types\";\nimport { SkiaViewNativeId } from \"./SkiaViewNativeId\";\n\nconst NativeSkiaPictureView: HostComponent<SkiaPictureViewProps> =\n Platform.OS !== \"web\"\n ? SkiaPictureViewNativeComponent\n : // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (null as any);\n\nexport class SkiaJSDomView extends React.Component<\n SkiaDomViewProps & { Skia: Skia }\n> {\n constructor(props: SkiaDomViewProps & { Skia: Skia }) {\n super(props);\n this._nativeId = SkiaViewNativeId.current++;\n const { root, onTouch, onSize } = props;\n if (root) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"root\", root);\n }\n if (onTouch) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"onTouch\", onTouch);\n }\n if (onSize) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"onSize\", onSize);\n }\n }\n\n private _nativeId: number;\n\n public get nativeId() {\n return this._nativeId;\n }\n\n componentDidUpdate(prevProps: SkiaDomViewProps & { Skia: Skia }) {\n const { root, onTouch, onSize } = this.props;\n if (root !== prevProps.root && root !== undefined) {\n assertSkiaViewApi();\n this.draw();\n }\n if (onTouch !== prevProps.onTouch) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"onTouch\", onTouch);\n }\n if (onSize !== prevProps.onSize) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"onSize\", onSize);\n }\n }\n\n /**\n * Creates a snapshot from the canvas in the surface\n * @param rect Rect to use as bounds. Optional.\n * @returns An Image object.\n */\n public makeImageSnapshot(rect?: SkRect) {\n assertSkiaViewApi();\n return SkiaViewApi.makeImageSnapshot(this._nativeId, rect);\n }\n\n /**\n * Sends a redraw request to the native SkiaView.\n */\n public redraw() {\n assertSkiaViewApi();\n this.draw();\n //SkiaViewApi.requestRedraw(this._nativeId);\n }\n\n private draw() {\n const { root, Skia } = this.props;\n if (root !== undefined) {\n assertSkiaViewApi();\n const rec = Skia.PictureRecorder();\n const canvas = rec.beginRecording();\n const ctx = new JsiDrawingContext(Skia, canvas);\n root.render(ctx);\n const picture = rec.finishRecordingAsPicture();\n SkiaViewApi.setJsiProperty(this._nativeId, \"picture\", picture);\n }\n }\n\n /**\n * Clear up the dom node when unmounting to release resources.\n */\n componentWillUnmount(): void {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"picture\", null);\n }\n\n render() {\n const { mode, debug = false, ...viewProps } = this.props;\n return (\n <NativeSkiaPictureView\n collapsable={false}\n nativeID={`${this._nativeId}`}\n mode={mode}\n debug={debug}\n {...viewProps}\n />\n );\n }\n}\n\nconst assertSkiaViewApi = () => {\n if (\n SkiaViewApi === null ||\n SkiaViewApi.setJsiProperty === null ||\n SkiaViewApi.callJsiMethod === null ||\n SkiaViewApi.requestRedraw === null ||\n SkiaViewApi.makeImageSnapshot === null\n ) {\n throw Error(\"Skia View Api was not found.\");\n }\n};\n"],"mappings":"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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
export { SkiaDomView as SkiaJSDomView } from "./SkiaDomView";
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["SkiaDomView","SkiaJSDomView"],"sources":["SkiaJSDomView.web.tsx"],"sourcesContent":["export { SkiaDomView as SkiaJSDomView } from \"./SkiaDomView\";\n"],"mappings":"AAAA,SAASA,WAAW,IAAIC,aAAa,QAAQ,eAAe"}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import type { SkRect } from "../skia/types";
|
3
|
-
import type { SkiaPictureViewProps } from "./types";
|
4
|
-
export declare class SkiaPictureView extends React.Component<SkiaPictureViewProps> {
|
5
|
-
constructor(props: SkiaPictureViewProps);
|
6
|
-
private _nativeId;
|
7
|
-
get nativeId(): number;
|
8
|
-
componentDidUpdate(prevProps: SkiaPictureViewProps): void;
|
9
|
-
/**
|
10
|
-
* Creates a snapshot from the canvas in the surface
|
11
|
-
* @param rect Rect to use as bounds. Optional.
|
12
|
-
* @returns An Image object.
|
13
|
-
*/
|
14
|
-
makeImageSnapshot(rect?: SkRect): import("../skia/types").SkImage;
|
15
|
-
/**
|
16
|
-
* Sends a redraw request to the native SkiaView.
|
17
|
-
*/
|
18
|
-
redraw(): void;
|
19
|
-
render(): React.JSX.Element;
|
20
|
-
}
|
@@ -1,82 +0,0 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
2
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
3
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
4
|
-
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
5
|
-
import React from "react";
|
6
|
-
import SkiaPictureViewNativeComponent from "../specs/SkiaPictureViewNativeComponent";
|
7
|
-
import { SkiaViewApi } from "./api";
|
8
|
-
import { SkiaViewNativeId } from "./SkiaViewNativeId";
|
9
|
-
const NativeSkiaPictureView = SkiaPictureViewNativeComponent;
|
10
|
-
export class SkiaPictureView extends React.Component {
|
11
|
-
constructor(props) {
|
12
|
-
super(props);
|
13
|
-
_defineProperty(this, "_nativeId", void 0);
|
14
|
-
this._nativeId = SkiaViewNativeId.current++;
|
15
|
-
const {
|
16
|
-
picture,
|
17
|
-
onSize
|
18
|
-
} = props;
|
19
|
-
if (picture) {
|
20
|
-
assertSkiaViewApi();
|
21
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "picture", picture);
|
22
|
-
}
|
23
|
-
if (onSize) {
|
24
|
-
assertSkiaViewApi();
|
25
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "onSize", onSize);
|
26
|
-
}
|
27
|
-
}
|
28
|
-
get nativeId() {
|
29
|
-
return this._nativeId;
|
30
|
-
}
|
31
|
-
componentDidUpdate(prevProps) {
|
32
|
-
const {
|
33
|
-
picture,
|
34
|
-
onSize
|
35
|
-
} = this.props;
|
36
|
-
if (picture !== prevProps.picture) {
|
37
|
-
assertSkiaViewApi();
|
38
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "picture", picture);
|
39
|
-
}
|
40
|
-
if (onSize !== prevProps.onSize) {
|
41
|
-
assertSkiaViewApi();
|
42
|
-
SkiaViewApi.setJsiProperty(this._nativeId, "onSize", onSize);
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
/**
|
47
|
-
* Creates a snapshot from the canvas in the surface
|
48
|
-
* @param rect Rect to use as bounds. Optional.
|
49
|
-
* @returns An Image object.
|
50
|
-
*/
|
51
|
-
makeImageSnapshot(rect) {
|
52
|
-
assertSkiaViewApi();
|
53
|
-
return SkiaViewApi.makeImageSnapshot(this._nativeId, rect);
|
54
|
-
}
|
55
|
-
|
56
|
-
/**
|
57
|
-
* Sends a redraw request to the native SkiaView.
|
58
|
-
*/
|
59
|
-
redraw() {
|
60
|
-
assertSkiaViewApi();
|
61
|
-
SkiaViewApi.requestRedraw(this._nativeId);
|
62
|
-
}
|
63
|
-
render() {
|
64
|
-
const {
|
65
|
-
mode,
|
66
|
-
debug = false,
|
67
|
-
...viewProps
|
68
|
-
} = this.props;
|
69
|
-
return /*#__PURE__*/React.createElement(NativeSkiaPictureView, _extends({
|
70
|
-
collapsable: false,
|
71
|
-
nativeID: `${this._nativeId}`,
|
72
|
-
mode: mode !== null && mode !== void 0 ? mode : "default",
|
73
|
-
debug: debug
|
74
|
-
}, viewProps));
|
75
|
-
}
|
76
|
-
}
|
77
|
-
const assertSkiaViewApi = () => {
|
78
|
-
if (SkiaViewApi === null || SkiaViewApi.setJsiProperty === null || SkiaViewApi.callJsiMethod === null || SkiaViewApi.requestRedraw === null || SkiaViewApi.makeImageSnapshot === null) {
|
79
|
-
throw Error("Skia View Api was not found.");
|
80
|
-
}
|
81
|
-
};
|
82
|
-
//# sourceMappingURL=SkiaPictureView.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["React","SkiaPictureViewNativeComponent","SkiaViewApi","SkiaViewNativeId","NativeSkiaPictureView","SkiaPictureView","Component","constructor","props","_defineProperty","_nativeId","current","picture","onSize","assertSkiaViewApi","setJsiProperty","nativeId","componentDidUpdate","prevProps","makeImageSnapshot","rect","redraw","requestRedraw","render","mode","debug","viewProps","createElement","_extends","collapsable","nativeID","callJsiMethod","Error"],"sources":["SkiaPictureView.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkRect } from \"../skia/types\";\nimport SkiaPictureViewNativeComponent from \"../specs/SkiaPictureViewNativeComponent\";\n\nimport { SkiaViewApi } from \"./api\";\nimport type { SkiaPictureViewProps } from \"./types\";\nimport { SkiaViewNativeId } from \"./SkiaViewNativeId\";\n\nconst NativeSkiaPictureView = SkiaPictureViewNativeComponent;\n\nexport class SkiaPictureView extends React.Component<SkiaPictureViewProps> {\n constructor(props: SkiaPictureViewProps) {\n super(props);\n this._nativeId = SkiaViewNativeId.current++;\n const { picture, onSize } = props;\n if (picture) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"picture\", picture);\n }\n if (onSize) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"onSize\", onSize);\n }\n }\n\n private _nativeId: number;\n\n public get nativeId() {\n return this._nativeId;\n }\n\n componentDidUpdate(prevProps: SkiaPictureViewProps) {\n const { picture, onSize } = this.props;\n if (picture !== prevProps.picture) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"picture\", picture);\n }\n if (onSize !== prevProps.onSize) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"onSize\", onSize);\n }\n }\n\n /**\n * Creates a snapshot from the canvas in the surface\n * @param rect Rect to use as bounds. Optional.\n * @returns An Image object.\n */\n public makeImageSnapshot(rect?: SkRect) {\n assertSkiaViewApi();\n return SkiaViewApi.makeImageSnapshot(this._nativeId, rect);\n }\n\n /**\n * Sends a redraw request to the native SkiaView.\n */\n public redraw() {\n assertSkiaViewApi();\n SkiaViewApi.requestRedraw(this._nativeId);\n }\n\n render() {\n const { mode, debug = false, ...viewProps } = this.props;\n return (\n <NativeSkiaPictureView\n collapsable={false}\n nativeID={`${this._nativeId}`}\n mode={mode ?? \"default\"}\n debug={debug}\n {...viewProps}\n />\n );\n }\n}\n\nconst assertSkiaViewApi = () => {\n if (\n SkiaViewApi === null ||\n SkiaViewApi.setJsiProperty === null ||\n SkiaViewApi.callJsiMethod === null ||\n SkiaViewApi.requestRedraw === null ||\n SkiaViewApi.makeImageSnapshot === null\n ) {\n throw Error(\"Skia View Api was not found.\");\n }\n};\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AAGzB,OAAOC,8BAA8B,MAAM,yCAAyC;AAEpF,SAASC,WAAW,QAAQ,OAAO;AAEnC,SAASC,gBAAgB,QAAQ,oBAAoB;AAErD,MAAMC,qBAAqB,GAAGH,8BAA8B;AAE5D,OAAO,MAAMI,eAAe,SAASL,KAAK,CAACM,SAAS,CAAuB;EACzEC,WAAWA,CAACC,KAA2B,EAAE;IACvC,KAAK,CAACA,KAAK,CAAC;IAACC,eAAA;IACb,IAAI,CAACC,SAAS,GAAGP,gBAAgB,CAACQ,OAAO,EAAE;IAC3C,MAAM;MAAEC,OAAO;MAAEC;IAAO,CAAC,GAAGL,KAAK;IACjC,IAAII,OAAO,EAAE;MACXE,iBAAiB,CAAC,CAAC;MACnBZ,WAAW,CAACa,cAAc,CAAC,IAAI,CAACL,SAAS,EAAE,SAAS,EAAEE,OAAO,CAAC;IAChE;IACA,IAAIC,MAAM,EAAE;MACVC,iBAAiB,CAAC,CAAC;MACnBZ,WAAW,CAACa,cAAc,CAAC,IAAI,CAACL,SAAS,EAAE,QAAQ,EAAEG,MAAM,CAAC;IAC9D;EACF;EAIA,IAAWG,QAAQA,CAAA,EAAG;IACpB,OAAO,IAAI,CAACN,SAAS;EACvB;EAEAO,kBAAkBA,CAACC,SAA+B,EAAE;IAClD,MAAM;MAAEN,OAAO;MAAEC;IAAO,CAAC,GAAG,IAAI,CAACL,KAAK;IACtC,IAAII,OAAO,KAAKM,SAAS,CAACN,OAAO,EAAE;MACjCE,iBAAiB,CAAC,CAAC;MACnBZ,WAAW,CAACa,cAAc,CAAC,IAAI,CAACL,SAAS,EAAE,SAAS,EAAEE,OAAO,CAAC;IAChE;IACA,IAAIC,MAAM,KAAKK,SAAS,CAACL,MAAM,EAAE;MAC/BC,iBAAiB,CAAC,CAAC;MACnBZ,WAAW,CAACa,cAAc,CAAC,IAAI,CAACL,SAAS,EAAE,QAAQ,EAAEG,MAAM,CAAC;IAC9D;EACF;;EAEA;AACF;AACA;AACA;AACA;EACSM,iBAAiBA,CAACC,IAAa,EAAE;IACtCN,iBAAiB,CAAC,CAAC;IACnB,OAAOZ,WAAW,CAACiB,iBAAiB,CAAC,IAAI,CAACT,SAAS,EAAEU,IAAI,CAAC;EAC5D;;EAEA;AACF;AACA;EACSC,MAAMA,CAAA,EAAG;IACdP,iBAAiB,CAAC,CAAC;IACnBZ,WAAW,CAACoB,aAAa,CAAC,IAAI,CAACZ,SAAS,CAAC;EAC3C;EAEAa,MAAMA,CAAA,EAAG;IACP,MAAM;MAAEC,IAAI;MAAEC,KAAK,GAAG,KAAK;MAAE,GAAGC;IAAU,CAAC,GAAG,IAAI,CAAClB,KAAK;IACxD,oBACER,KAAA,CAAA2B,aAAA,CAACvB,qBAAqB,EAAAwB,QAAA;MACpBC,WAAW,EAAE,KAAM;MACnBC,QAAQ,EAAG,GAAE,IAAI,CAACpB,SAAU,EAAE;MAC9Bc,IAAI,EAAEA,IAAI,aAAJA,IAAI,cAAJA,IAAI,GAAI,SAAU;MACxBC,KAAK,EAAEA;IAAM,GACTC,SAAS,CACd,CAAC;EAEN;AACF;AAEA,MAAMZ,iBAAiB,GAAGA,CAAA,KAAM;EAC9B,IACEZ,WAAW,KAAK,IAAI,IACpBA,WAAW,CAACa,cAAc,KAAK,IAAI,IACnCb,WAAW,CAAC6B,aAAa,KAAK,IAAI,IAClC7B,WAAW,CAACoB,aAAa,KAAK,IAAI,IAClCpB,WAAW,CAACiB,iBAAiB,KAAK,IAAI,EACtC;IACA,MAAMa,KAAK,CAAC,8BAA8B,CAAC;EAC7C;AACF,CAAC"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { SkCanvas } from "../skia/types";
|
2
|
-
import type { SkiaPictureViewProps } from "./types";
|
3
|
-
import { SkiaBaseWebView } from "./SkiaBaseWebView";
|
4
|
-
export declare class SkiaPictureView extends SkiaBaseWebView<SkiaPictureViewProps> {
|
5
|
-
constructor(props: SkiaPictureViewProps);
|
6
|
-
protected renderInCanvas(canvas: SkCanvas): void;
|
7
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { SkiaBaseWebView } from "./SkiaBaseWebView";
|
2
|
-
export class SkiaPictureView extends SkiaBaseWebView {
|
3
|
-
constructor(props) {
|
4
|
-
super(props);
|
5
|
-
}
|
6
|
-
renderInCanvas(canvas) {
|
7
|
-
if (this.props.picture) {
|
8
|
-
canvas.drawPicture(this.props.picture);
|
9
|
-
}
|
10
|
-
}
|
11
|
-
}
|
12
|
-
//# sourceMappingURL=SkiaPictureView.web.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["SkiaBaseWebView","SkiaPictureView","constructor","props","renderInCanvas","canvas","picture","drawPicture"],"sources":["SkiaPictureView.web.tsx"],"sourcesContent":["import type { SkCanvas } from \"../skia/types\";\n\nimport type { SkiaPictureViewProps } from \"./types\";\nimport { SkiaBaseWebView } from \"./SkiaBaseWebView\";\n\nexport class SkiaPictureView extends SkiaBaseWebView<SkiaPictureViewProps> {\n constructor(props: SkiaPictureViewProps) {\n super(props);\n }\n\n protected renderInCanvas(canvas: SkCanvas): void {\n if (this.props.picture) {\n canvas.drawPicture(this.props.picture);\n }\n }\n}\n"],"mappings":"AAGA,SAASA,eAAe,QAAQ,mBAAmB;AAEnD,OAAO,MAAMC,eAAe,SAASD,eAAe,CAAuB;EACzEE,WAAWA,CAACC,KAA2B,EAAE;IACvC,KAAK,CAACA,KAAK,CAAC;EACd;EAEUC,cAAcA,CAACC,MAAgB,EAAQ;IAC/C,IAAI,IAAI,CAACF,KAAK,CAACG,OAAO,EAAE;MACtBD,MAAM,CAACE,WAAW,CAAC,IAAI,CAACJ,KAAK,CAACG,OAAO,CAAC;IACxC;EACF;AACF"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["SkiaViewNativeId","current"],"sources":["SkiaViewNativeId.ts"],"sourcesContent":["export const SkiaViewNativeId = { current: 1000 };\n"],"mappings":"AAAA,OAAO,MAAMA,gBAAgB,GAAG;EAAEC,OAAO,EAAE;AAAK,CAAC"}
|
package/lib/module/views/api.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["SkiaViewApi","global"],"sources":["api.ts"],"sourcesContent":["import type { ISkiaViewApi } from \"./types\";\n\ndeclare global {\n var SkiaViewApi: ISkiaViewApi;\n}\n\nexport const { SkiaViewApi } = global;\n"],"mappings":"AAMA,OAAO,MAAM;EAAEA;AAAY,CAAC,GAAGC,MAAM"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./SkiaPictureView\";\nexport * from \"./SkiaDomView\";\nexport * from \"./types\";\nexport * from \"./useTouchHandler\";\n"],"mappings":"AAAA,cAAc,mBAAmB;AACjC,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,mBAAmB"}
|