This repository was archived by the owner on Dec 1, 2025. It is now read-only.
forked from Only-IceSoul/react-native-clippath
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.d.ts
More file actions
63 lines (49 loc) · 1.45 KB
/
index.d.ts
File metadata and controls
63 lines (49 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import React from "react";
import { Constructor, NativeMethods, ViewProps } from "react-native";
import {NativeProps} from './src/ClipPathNativeComponent'
interface ClipPathViewProps extends ViewProps {
svgKey?:string // web
d?:string
viewBox?:number[]
aspect?: 'meet' | 'slice' | 'none'
align?:'xMinYMin'|
'xMidYMin' |
'xMaxYMin' |
'xMinYMid' |
'xMidYMid' |
'xMaxYMid' |
'xMinYMax' |
'xMidYMax' |
'xMaxYMax' |
'none'
translateZ?:number
fillRule?: 'evenodd' | 'nonzero'
strokeWidth?:number
strokeStart?:number
strokeEnd?:number
strokeCap?:'butt' | 'round' | 'square'
strokeJoin?: 'bevel' | 'miter' | 'round'
strokeMiter?:number
// transformOrder?: "r-s-t" | "r-t-s" | "s-r-t" | "s-t-r" | "t-r-s" | "t-s-r"
transX?:number
transY?:number
transPercentageValue?:boolean
rot?:number
rotO?:number
rotOx?:number
rotOy?:number
rotPercentageValue?:boolean
sc?:number
scX?:number
scY?:number
scO?:number
scOx?:number
scOy?:number
scPercentageValue?:boolean
}
declare class ClipPathComponent extends React.Component<ClipPathViewProps> {}
declare const ClipPathViewBase: Constructor<NativeMethods> & typeof ClipPathComponent;
export class ClipPathViewH extends ClipPathViewBase {}
export class ClipPathView extends ClipPathViewBase {}
declare class ClipPath extends React.Component<NativeProps>{}
export default ClipPath