mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
Merge pull request #8182 from yudielcurbelo/patch-1
path function to allow (string | number)[]
This commit is contained in:
2
raphael/raphael.d.ts
vendored
2
raphael/raphael.d.ts
vendored
@@ -211,7 +211,7 @@ interface RaphaelPaper {
|
||||
getFont(family: string, weight?: number, style?: string, stretch?: string): RaphaelFont;
|
||||
height: number;
|
||||
image(src: string, x: number, y: number, width: number, height: number): RaphaelElement;
|
||||
path(pathString?: string): RaphaelPath;
|
||||
path(pathString?: string | (string | number)[]): RaphaelPath;
|
||||
print(x: number, y: number, str: string, font: RaphaelFont, size?: number, origin?: string, letter_spacing?: number): RaphaelPath;
|
||||
rect(x: number, y: number, width: number, height: number, r?: number): RaphaelElement;
|
||||
remove(): void;
|
||||
|
||||
Reference in New Issue
Block a user