UNPKG

react-native-svg

Version:
33 lines 958 B
import type { TurboModule } from 'react-native'; import type { Double, Float } from 'react-native/Libraries/Types/CodegenTypes'; type Rect = { x: Float; y: Float; width: Float; height: Float; }; type Matrix = { a: Float; b: Float; c: Float; d: Float; e: Float; f: Float; }; type Point = { x: Float; y: Float; }; export interface Spec extends TurboModule { isPointInFill(tag: Double | null, options?: Object): boolean; isPointInStroke(tag: Double | null, options?: Object): boolean; getTotalLength(tag: Double | null): Float; getPointAtLength(tag: Double | null, options?: Object): Point; getBBox(tag: Double | null, options?: Object): Rect; getCTM(tag: Double | null): Matrix; getScreenCTM(tag: Double | null): Matrix; getRawResource(name: string): Promise<string>; } declare const _default: Spec; export default _default; //# sourceMappingURL=NativeSvgRenderableModule.d.ts.map