Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
RaphaelPaper
Interface RaphaelPaper
Index
Properties
bottom
canvas
defs
height
top
width
Methods
add
circle
clear
ellipse
forEach
getById
getElementByPoint
getElementsByPoint
getFont
image
path
print
rect
remove
renderfix
safari
set
setFinish
setSize
setStart
setViewBox
text
Properties
public
bottom
:
RaphaelElement
public
canvas
:
SVGSVGElement
public
defs
:
SVGDefsElement
public
height
:
number
public
top
:
RaphaelElement
public
width
:
number
Methods
public
add
(
JSON
:
any
)
:
RaphaelSet
Parameters
JSON:
any
Returns
RaphaelSet
public
circle
(
x
:
number
, y
:
number
, r
:
number
)
:
RaphaelElement
Parameters
x:
number
y:
number
r:
number
Returns
RaphaelElement
public
clear
(
)
public
ellipse
(
x
:
number
, y
:
number
, rx
:
number
, ry
:
number
)
:
RaphaelElement
Parameters
x:
number
y:
number
rx:
number
ry:
number
Returns
RaphaelElement
public
forEach
(
callback
:
(el: RaphaelElement) => boolean
, thisArg
?:
any
)
:
RaphaelPaper
Parameters
callback:
(el: RaphaelElement) => boolean
thisArg?:
any
optional
Returns
RaphaelPaper
public
getById
(
id
:
number
)
:
RaphaelElement
Parameters
id:
number
Returns
RaphaelElement
public
getElementByPoint
(
x
:
number
, y
:
number
)
:
RaphaelElement
Parameters
x:
number
y:
number
Returns
RaphaelElement
public
getElementsByPoint
(
x
:
number
, y
:
number
)
:
RaphaelSet
Parameters
x:
number
y:
number
Returns
RaphaelSet
public
getFont
(
family
:
string
, weight
?:
string
, style
?:
string
, stretch
?:
string
)
:
RaphaelFont
Parameters
family:
string
weight?:
string
optional
style?:
string
optional
stretch?:
string
optional
Returns
RaphaelFont
public
getFont
(
family
:
string
, weight
?:
number
, style
?:
string
, stretch
?:
string
)
:
RaphaelFont
Parameters
family:
string
weight?:
number
optional
style?:
string
optional
stretch?:
string
optional
Returns
RaphaelFont
public
image
(
src
:
string
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
RaphaelElement
Parameters
src:
string
x:
number
y:
number
width:
number
height:
number
Returns
RaphaelElement
public
path
(
pathString
?:
string
)
:
RaphaelPath
Parameters
pathString?:
string
optional
Returns
RaphaelPath
public
print
(
x
:
number
, y
:
number
, str
:
string
, font
:
RaphaelFont
, size
?:
number
, origin
?:
string
, letter_spacing
?:
number
)
:
RaphaelPath
Parameters
x:
number
y:
number
str:
string
font:
RaphaelFont
size?:
number
optional
origin?:
string
optional
letter_spacing?:
number
optional
Returns
RaphaelPath
public
rect
(
x
:
number
, y
:
number
, width
:
number
, height
:
number
, r
?:
number
)
:
RaphaelElement
Parameters
x:
number
y:
number
width:
number
height:
number
r?:
number
optional
Returns
RaphaelElement
public
remove
(
)
public
renderfix
(
)
public
safari
(
)
public
set
(
elements
?:
RaphaelElement
[]
)
:
RaphaelSet
Parameters
elements?:
RaphaelElement
[]
optional
Returns
RaphaelSet
public
setFinish
(
)
public
setSize
(
width
:
number
, height
:
number
)
Parameters
width:
number
height:
number
public
setStart
(
)
public
setViewBox
(
x
:
number
, y
:
number
, w
:
number
, h
:
number
, fit
:
boolean
)
Parameters
x:
number
y:
number
w:
number
h:
number
fit:
boolean
public
text
(
x
:
number
, y
:
number
, text
:
string
)
:
RaphaelElement
Parameters
x:
number
y:
number
text:
string
Returns
RaphaelElement
Globals