Class Index | File Index

Classes


Class adf.graphics.SvgElement


Extends adf.graphics.Element.

Defined in: SvgElement.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
adf.graphics.SvgElement(id, container)
An adf.graphics.Element implementation for SVG(Scalable Vector Graphics) specification.
Method Summary
Method Attributes Method Name and Description
 
 
 
clip(rect)
 
 
drawCircle(center, radius, symbol)
 
drawImage(src, left, top, width, height)
 
drawLine(point1, point2, symbol)
 
drawOval(bounds, symbol)
 
drawPoint(point, symbol)
 
drawPolygon(points, symbol)
 
drawPolyline(points, symbol)
 
drawRectangle(rect, symbol)
 
drawText(txt, bounds, fontStyle, symbol)
 
remove(element)
 
updateElement(el, propertyObject)
 
updateSymbol(el, symbol)
Methods borrowed from class adf.graphics.Element:
hide, show
Class Detail
adf.graphics.SvgElement(id, container)
An adf.graphics.Element implementation for SVG(Scalable Vector Graphics) specification. This class is used by Mozilla and Chrome browsers to render graphics.
Parameters:
id
container
Method Detail
clear()

clearClip()

clip(rect)
Parameters:
rect

destroy()

drawCircle(center, radius, symbol)
Parameters:
center
radius
symbol

drawImage(src, left, top, width, height)
Parameters:
src
left
top
width
height

drawLine(point1, point2, symbol)
Parameters:
point1
point2
symbol

drawOval(bounds, symbol)
Parameters:
bounds
symbol

drawPoint(point, symbol)
Parameters:
point
symbol

drawPolygon(points, symbol)
Parameters:
points
symbol

drawPolyline(points, symbol)
Parameters:
points
symbol

drawRectangle(rect, symbol)
Parameters:
rect
symbol

drawText(txt, bounds, fontStyle, symbol)
Parameters:
txt
bounds
fontStyle
symbol

remove(element)
Parameters:
element

updateElement(el, propertyObject)
Parameters:
el
propertyObject

updateSymbol(el, symbol)
Parameters:
el
symbol

Documentation generated by JsDoc Toolkit 2.1.0 on Mon May 17 2010 13:45:42 GMT-0700 (PDT)