您的位置:首页 > 其它

IE8 SVG Viewer下一些对象属性和方法

2015-04-02 21:52 190 查看
doc:[object SVGDocument] = {
createAttributeNS: unknown,
referrer: ,
hasAttributes: false,
replaceChild: unknown,
insertBefore: unknown,
getElementById: unknown,
getElementsByTagNameNS: unknown,
documentElement: [object SVGSVGElement],
title: null,
previousSibling: null,
normalize: undefined,
createTextNode: unknown,
domain: localhost:8080,
URL: http://localhost:8080/svgdemo/resources/svg/test.svg, createDocumentFragment: [object DocumentFragment],
parentNode: null,
prefix: ,
rootElement: [object SVGSVGElement],
nodeType: 9,
cloneNode: unknown,
namespaceURI: ,
hasChildNodes: true,
nextSibling: null,
importNode: unknown,
isSupported: unknown,
removeChild: unknown,
createCDATASection: unknown,
getElementsByTagName: unknown,
createComment: unknown,
createAttribute: unknown,
createElementNS: unknown,
localName: ,
appendChild: unknown,
firstChild: [object Comment],
ownerDocument: null,
childNodes: [object NodeList],
createProcessingInstruction: unknown,
nodeValue: null,
createElement: unknown,
lastChild: [object SVGSVGElement],
nodeName: #document,
doctype: [object DocumentType],
implementation: [object DOMImplementation],
createEntityReference: unknown,
attributes: null,
}
root:[object SVGSVGElement] = {
currentTranslate: [object SVGPoint],
ownerDocument: [object SVGDocument],
getElementById: unknown,
pauseAnimations: undefined,
replaceChild: unknown,
setAttributeNS: unknown,
localName: svg,
parentNode: [object SVGDocument],
nodeName: svg,
hasChildNodes: true,
createSVGMatrix: [object SVGMatrix],
getAttributeNodeNS: unknown,
attributes: [object NamedNodeMap],
nodeValue: null,
normalize: undefined,
getCurrentTime: 0.2110000103712082,
removeAttributeNS: unknown,
firstChild: [object Text],
setAttributeNode: unknown,
previousSibling: [object Comment],
tagName: svg,
id: svg2991,
isSupported: unknown,
currentScale: 1,
cloneNode: unknown,
hasAttributeNS: unknown,
childNodes: [object NodeList],
addEventListener: unknown,
setCurrentTime: unknown,
unpauseAnimations: undefined,
style: [object CSSStyleDeclaration],
dispatchEvent: unknown,
viewportElement: null,
removeAttribute: unknown,
getElementsByTagNameNS: unknown,
appendChild: unknown,
prefix: null,
createSVGRect: [object SVGRect],
removeEventListener: unknown,
getCTM: [object SVGMatrix],
removeChild: unknown,
getElementsByTagName: unknown,
removeAttributeNode: unknown,
hasAttribute: unknown,
lastChild: [object Text],
animationsPaused: false,
getAttributeNode: unknown,
getBBox: [object SVGRect],
nextSibling: null,
insertBefore: unknown,
namespaceURI: http://www.w3.org/2000/svg, createSVGPoint: [object SVGPoint],
getAttributeNS: unknown,
getAttribute: unknown,
hasAttributes: true,
setAttributeNodeNS: unknown,
setAttribute: unknown,
deselectAll: undefined,
nodeType: 1,
}
rect:[object SVGRectElement] = {
nodeName: rect,
parentNode: [object SVGGElement],
nodeType: 1,
ownerDocument: [object SVGDocument],
firstChild: null,
addEventListener: unknown,
appendChild: unknown,
viewportElement: [object SVGSVGElement],
namespaceURI: http://www.w3.org/2000/svg, hasAttributes: true,
dispatchEvent: unknown,
normalize: undefined,
getElementsByTagName: unknown,
getCTM: [object SVGMatrix],
tagName: rect,
prefix: null,
id: rect1,
getElementsByTagNameNS: unknown,
lastChild: null,
previousSibling: [object Text],
removeAttributeNS: unknown,
setAttributeNS: unknown,
getBBox: [object SVGRect],
nodeValue: null,
nextSibling: [object Text],
removeEventListener: unknown,
cloneNode: unknown,
hasAttributeNS: unknown,
hasChildNodes: false,
attributes: [object NamedNodeMap],
setAttributeNode: unknown,
removeAttribute: unknown,
getAttributeNS: unknown,
getAttributeNode: unknown,
hasAttribute: unknown,
localName: rect,
style: [object CSSStyleDeclaration],
replaceChild: unknown,
removeChild: unknown,
isSupported: unknown,
getAttribute: unknown,
setAttribute: unknown,
removeAttributeNode: unknown,
setAttributeNodeNS: unknown,
getAttributeNodeNS: unknown,
insertBefore: unknown,
childNodes: [object NodeList],
}
matrix:[object SVGMatrix] = {
scale: unknown,
a: 1,
b: 0,
c: 0,
d: 1,
e: 0,
f: 0,
rotateFromVector: unknown,
scaleNonUniform: unknown,
translate: unknown,
multiply: unknown,
skewX: unknown,
rotate: unknown,
flipX: [object SVGMatrix],
flipY: [object SVGMatrix],
inverse: [object SVGMatrix],
skewY: unknown,
}
rect:[object SVGRect] = {
x: 0,
y: 0,
width: 0,
height: 0,
}
point:[object SVGPoint] = {
y: 0,
matrixTransform: unknown,
x: 0,
}
css:[object CSSStyleDeclaration] = {
length: 0,
getPropertyValue: unknown,
parentRule: null,
getPropertyCSSValue: unknown,
item: unknown,
cssText: ,
setProperty: unknown,
getPropertyPriority: unknown,
removeProperty: unknown,
}
svg-evt:[object MouseEvent] = {
type: mousedown,
currentTarget: [object SVGSVGElement],
clientY: 160,
screenX: 325,
cancelable: true,
screenY: 160,
shiftKey: false,
eventPhase: 3,
stopPropagation: undefined,
metaKey: false,
ctrlKey: false,
detail: 1,
target: [object SVGRectElement],
clientX: 325,
button: 0,
preventDefault: undefined,
relatedTarget: null,
bubbles: true,
altKey: false,
currentNode: [object SVGSVGElement],
}
html-evt:[object Event] = {
recordset: null,
type: mousewheel,
fromElement: null,
toElement: null,
altLeft: false,
keyCode: 0,
repeat: false,
reason: 0,
data: ,
behaviorCookie: 0,
source: null,
contentOverflow: false,
behaviorPart: 0,
url: ,
dataTransfer: null,
ctrlKey: false,
shiftLeft: false,
dataFld: ,
returnValue: undefined,
qualifier: ,
wheelDelta: -120,
bookmarks: null,
button: 0,
srcFilter: null,
nextPage: ,
cancelBubble: false,
x: 4,
y: 3,
srcElement: [object],
screenX: 154,
screenY: 189,
srcUrn: ,
origin: ,
boundElements: [object HTMLCollection],
clientX: 152,
clientY: 73,
propertyName: ,
shiftKey: false,
ctrlLeft: false,
offsetX: 4,
offsetY: 3,
altKey: false,
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐