- zrender.dispose(zr)
- zrender.init(dom, opts)
- zrender.version
- zrender.Animatable
- zrender.Animatable.animate(path, loop)
- zrender.Animatable.animateTo(target, time, delay, easing, callback, forceAnimate)
- zrender.Animatable.stopAnimation(forwardToLast)
- zrender.Animator
- zrender.Animator.delay(time)
- zrender.Animator.done(callback)
- zrender.Animator.during(callback)
- zrender.Animator.isPaused()
- zrender.Animator.pause()
- zrender.Animator.resume()
- zrender.Animator.start(easing)
- zrender.Animator.stop(forwardToLast)
- zrender.Animator.when(time, props)
- zrender.BoundingRect
- zrender.BoundingRect.clone()
- zrender.BoundingRect.contain(x, y)
- zrender.BoundingRect.copy(other)
- zrender.BoundingRect.intersect(other)
- zrender.BoundingRect.union(other)
- zrender.color
- zrender.color.lift(color, level)
- zrender.color.lerp(normalizedValue, colors, fullOutput)
- zrender.color.modifyAlpha(color, alpha)
- zrender.color.modifyHSL(color, h, s, l)
- zrender.color.parse(colorStr, rgbaArr)
- zrender.color.toHex(color)
- zrender.color.stringify(arrColor, type)
- zrender.Displayable
- zrender.Displayable.contain(x, y)
- zrender.Displayable.dirty()
- zrender.Displayable.getBoundingRect()
- zrender.Displayable.rectContain(x, y)
- zrender.Arc
- zrender.BezierCurve
- zrender.Circle
- zrender.CompoundPath
- zrender.Droplet
- zrender.Ellipse
- zrender.Heart
- zrender.Image
- zrender.Isogon
- zrender.Line
- zrender.Path
- zrender.Path.extend(props)
- zrender.Polygon
- zrender.Polyline
- zrender.Rect
- zrender.Rose
- zrender.Sector
- zrender.Star
- zrender.Text
- zrender.Trochoid
- zrender.Element
- zrender.Element.afterUpdate
- zrender.Element.attr(key, value)
- zrender.Element.beforeUpdate
- zrender.Element.hide()
- zrender.Element.removeClipPath()
- zrender.Element.setClipPath(clipPath)
- zrender.Element.show()
- zrender.Element.traverse(cb, context)
- zrender.Eventful
- zrender.Eventful.isSilent(event)
- zrender.Eventful.off(event, handler)
- zrender.Eventful.on(event, handler, context)
- zrender.Eventful.one(event, handler, context)
- zrender.Eventful.trigger(event)
- zrender.Gradient
- zrender.Gradient.addColorStop(offset, color)
- zrender.Group
- zrender.Group.add(child)
- zrender.Group.addBefore(child, nextSibling)
- zrender.Group.childAt(idx)
- zrender.Group.childCount()
- zrender.Group.childOfName(name)
- zrender.Group.children()
- zrender.Group.dirty()
- zrender.Group.eachChild(cb, context)
- zrender.Group.getBoundingRect(includeChildren)
- zrender.Group.remove(child)
- zrender.Group.removeAll()
- zrender.Group.silent
- zrender.LinearGradient
- zrender.matrix
- zrender.matrix.copy(out, m)
- zrender.matrix.create()
- zrender.matrix.identity(out)
- zrender.matrix.invert(out, m)
- zrender.matrix.mul(out, m1, m2)
- zrender.matrix.rotate(out, m, rad)
- zrender.matrix.scale(out, m, v)
- zrender.matrix.translate(out, m, v)
- zrender.path
- zrender.path.createFromString(str, opts)
- zrender.path.extendFromString(str, opts)
- zrender.path.mergePath(pathEls, opts)
- zrender.Pattern
- zrender.RadialGradient
- zrender.Transformable
- zrender.Transformable.decomposeTransform()
- zrender.Transformable.getGlobalScale()
- zrender.Transformable.origin
- zrender.Transformable.position
- zrender.Transformable.rotation
- zrender.Transformable.scale
- zrender.Transformable.transform
- zrender.Transformable.transformCoordToGlobal(x, y)
- zrender.Transformable.transformCoordToLocal(x, y)
- zrender.util
- zrender.util.bind(func, context)
- zrender.util.clone(source)
- zrender.util.createCanvas()
- zrender.util.curry(func)
- zrender.util.defaults(target, source, overlay)
- zrender.util.each(array, cb, context)
- zrender.util.extend(target, source)
- zrender.util.filter(array, cb, context)
- zrender.util.find(array, cb, context)
- zrender.util.getContext()
- zrender.util.indexOf(array, value)
- zrender.util.inherits(clazz, baseClazz)
- zrender.util.isArray(data)
- zrender.util.isFunction(data)
- zrender.util.isObject(data)
- zrender.util.isString(data)
- zrender.util.map(array, cb, context)
- zrender.util.merge(target, source, overwrite)
- zrender.util.reduce(array, cb, context)
- zrender.util.slice(array, start, end)
- zrender.vector
- zrender.vector.add(out, v1, v2)
- zrender.vector.applyTransform(out, v, m)
- zrender.vector.copy(out, v)
- zrender.vector.clone(v)
- zrender.vector.distance(v1, v2)
- zrender.vector.distanceSquare(v1, v2)
- zrender.vector.div(out, v1, v2)
- zrender.vector.dot(v1, v2)
- zrender.vector.len(v)
- zrender.vector.lenSquare(v)
- zrender.vector.lerp(out, v1, v2, t)
- zrender.vector.max(out, v1, v2)
- zrender.vector.min(out, v1, v2)
- zrender.vector.mul(out, v1, v2)
- zrender.vector.negate(out, v)
- zrender.vector.normalize(out, v)
- zrender.vector.scale(out, v, s)
- zrender.vector.scaleAndAdd(out, v1, v2, scale)
- zrender.vector.set(out, a, b)
- zrender.vector.sub(out, v1, v2)
- add(el)
- addHover(el, style)
- animation
- clear()
- clearAnimation()
- clearHover()
- configLayer(zLevel, config)
- dispose()
- dom
- flush()
- getHeight()
- getWidth()
- id
- off(eventName, eventHandler)
- on(eventName, eventHandler, context)
- refresh()
- refreshHover()
- refreshHoverImmediately()
- refreshImmediately()
- remove(el)
- removeHover(el)
- resize(opts)
- trigger(eventName, event)
文章来源于网络收集而来,版权归原创者所有,如有侵权请及时联系!
zrender.Image
继承自 zrender.Displayable
图像。
构造函数
zrender.Image(opts)
名称 | 类型 | 默认值 | 描述 |
---|---|---|---|
opts | Object | 配置项,继承得到的配置项参见 zrender.Displayable。 | |
opts.style | Object | 样式。 | |
opts.style.image | string|HTMLImageElement|HTMLCanvasElement | 图片的内容,可以是图片的 URL,也可以是 dataURI。 | |
opts.style.x | number | 图片左上角相对于父节点的横坐标。 | |
opts.style.y | number | 图片左上角相对于父节点的纵坐标。 | |
opts.style.width | number | 图片宽度。 | |
opts.style.height | number | 图片高度。 |
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论