UNPKG

@shopify/react-native-skia

Version:

High-performance React Native Graphics using Skia

67 lines (66 loc) 6.6 kB
import type { PathProps, SkDOM, GroupProps, ImageProps, BlurImageFilterProps, MatrixColorFilterProps, CircleProps, BlurMaskFilterProps, LinearGradientProps, PaintProps, ShaderProps, ImageShaderProps, CustomDrawingNodeProps, LineProps, OvalProps, PatchProps, PointsProps, RectProps, RoundedRectProps, VerticesProps, TextProps, DiffRectProps, OffsetImageFilterProps, BlendColorFilterProps, TextPathProps, TextBlobProps, GlyphsProps, TwoPointConicalGradientProps, TurbulenceProps, SweepGradientProps, RadialGradientProps, FractalNoiseProps, ColorProps, PictureProps, ImageSVGProps, LerpColorFilterProps, DrawingNodeProps, BoxProps, BoxShadowProps, ChildrenProps } from "../types"; import type { BlendImageFilterProps, BlendProps, DisplacementMapImageFilterProps, DropShadowImageFilterProps, MorphologyImageFilterProps, RuntimeShaderImageFilterProps } from "../types/ImageFilters"; import type { CornerPathEffectProps, DashPathEffectProps, DiscretePathEffectProps, Line2DPathEffectProps, Path1DPathEffectProps, Path2DPathEffectProps } from "../types/PathEffects"; import type { ParagraphProps } from "../types/Paragraph"; import type { NodeContext } from "./Node"; export declare class JsiSkDOM implements SkDOM { private ctx; constructor(ctx: NodeContext); Layer(props?: ChildrenProps): import("../types").RenderNode<ChildrenProps>; Group(props?: GroupProps): import("../types").RenderNode<GroupProps>; Paint(props: PaintProps): import("../types").DeclarationNode<PaintProps>; Fill(props?: DrawingNodeProps): import("../types").RenderNode<PaintProps>; Image(props: ImageProps): import("../types").RenderNode<ImageProps>; Circle(props: CircleProps): import("../types").RenderNode<CircleProps>; Path(props: PathProps): import("../types").RenderNode<PathProps>; CustomDrawing(props: CustomDrawingNodeProps): import("../types").RenderNode<CustomDrawingNodeProps>; Line(props: LineProps): import("../types").RenderNode<LineProps>; Oval(props: OvalProps): import("../types").RenderNode<OvalProps>; Patch(props: PatchProps): import("../types").RenderNode<PatchProps>; Points(props: PointsProps): import("../types").RenderNode<PointsProps>; Rect(props: RectProps): import("./DrawingNode").JsiDrawingNode<RectProps, import("../..").SkRect>; RRect(props: RoundedRectProps): import("./DrawingNode").JsiDrawingNode<RoundedRectProps, import("../..").SkRRect>; Vertices(props: VerticesProps): import("../types").RenderNode<VerticesProps>; Text(props: TextProps): import("../types").RenderNode<TextProps>; TextPath(props: TextPathProps): import("../types").RenderNode<TextPathProps>; TextBlob(props: TextBlobProps): import("../types").RenderNode<TextBlobProps>; Glyphs(props: GlyphsProps): import("../types").RenderNode<GlyphsProps>; DiffRect(props: DiffRectProps): import("../types").RenderNode<DiffRectProps>; Picture(props: PictureProps): import("../types").RenderNode<PictureProps>; ImageSVG(props: ImageSVGProps): import("../types").RenderNode<ImageSVGProps>; BlurMaskFilter(props: BlurMaskFilterProps): import("../types").DeclarationNode<BlurMaskFilterProps>; BlendImageFilter(props: BlendImageFilterProps): import("../types").DeclarationNode<BlendImageFilterProps>; DropShadowImageFilter(props: DropShadowImageFilterProps): import("../types").DeclarationNode<DropShadowImageFilterProps>; DisplacementMapImageFilter(props: DisplacementMapImageFilterProps): import("../types").DeclarationNode<DisplacementMapImageFilterProps>; BlurImageFilter(props: BlurImageFilterProps): import("../types").DeclarationNode<BlurImageFilterProps>; OffsetImageFilter(props: OffsetImageFilterProps): import("../types").DeclarationNode<OffsetImageFilterProps>; MorphologyImageFilter(props: MorphologyImageFilterProps): import("../types").DeclarationNode<MorphologyImageFilterProps>; RuntimeShaderImageFilter(props: RuntimeShaderImageFilterProps): import("../types").DeclarationNode<RuntimeShaderImageFilterProps>; MatrixColorFilter(props: MatrixColorFilterProps): import("../types").DeclarationNode<MatrixColorFilterProps>; BlendColorFilter(props: BlendColorFilterProps): import("../types").DeclarationNode<BlendColorFilterProps>; LumaColorFilter(): import("../types").DeclarationNode<null>; LinearToSRGBGammaColorFilter(): import("../types").DeclarationNode<null>; SRGBToLinearGammaColorFilter(): import("../types").DeclarationNode<null>; LerpColorFilter(props: LerpColorFilterProps): import("../types").DeclarationNode<LerpColorFilterProps>; Shader(props: ShaderProps): import("../types").DeclarationNode<ShaderProps>; ImageShader(props: ImageShaderProps): import("../types").DeclarationNode<ImageShaderProps>; ColorShader(props: ColorProps): import("../types").DeclarationNode<ColorProps>; SweepGradient(props: SweepGradientProps): import("../types").DeclarationNode<SweepGradientProps>; Turbulence(props: TurbulenceProps): import("../types").DeclarationNode<TurbulenceProps>; FractalNoise(props: FractalNoiseProps): import("../types").DeclarationNode<FractalNoiseProps>; LinearGradient(props: LinearGradientProps): import("../types").DeclarationNode<LinearGradientProps>; RadialGradient(props: RadialGradientProps): import("../types").DeclarationNode<RadialGradientProps>; TwoPointConicalGradient(props: TwoPointConicalGradientProps): import("../types").DeclarationNode<TwoPointConicalGradientProps>; CornerPathEffect(props: CornerPathEffectProps): import("../types").DeclarationNode<CornerPathEffectProps>; DiscretePathEffect(props: DiscretePathEffectProps): import("../types").DeclarationNode<DiscretePathEffectProps>; DashPathEffect(props: DashPathEffectProps): import("../types").DeclarationNode<DashPathEffectProps>; Path1DPathEffect(props: Path1DPathEffectProps): import("../types").DeclarationNode<Path1DPathEffectProps>; Path2DPathEffect(props: Path2DPathEffectProps): import("../types").DeclarationNode<Path2DPathEffectProps>; SumPathEffect(): import("../types").DeclarationNode<null>; Line2DPathEffect(props: Line2DPathEffectProps): import("../types").DeclarationNode<Line2DPathEffectProps>; Blend(props: BlendProps): import("../types").DeclarationNode<BlendProps>; BackdropFilter(props: ChildrenProps): import("../types").RenderNode<ChildrenProps>; Box(props: BoxProps): import("../types").RenderNode<BoxProps>; BoxShadow(props: BoxShadowProps): import("../types").DeclarationNode<BoxShadowProps>; Paragraph(props: ParagraphProps): import("../types").RenderNode<ParagraphProps>; }