- 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.RadialGradient
继承自 zrender.Gradient
径向渐变。
构造函数
zrender.RadialGradient(x, y, r, colorStops, globalCoord)
名称 | 类型 | 默认值 | 描述 |
---|---|---|---|
x | number | 0.5 | 渐变中心位置横坐标。 |
y | number | 0.5 | 渐变中心位置纵坐标。 |
r | number | 0.5 | 渐变半径。 |
colorStops | Object[] | 组成渐变色的颜色。每个颜色包括 offset 与 color 属性,前者表示渐变位置(类型:number ),后者表示具体的颜色(类型:string ) | |
globalCoord | boolean | false | 如果为 false ,则 colorStops 取值范围是 0 到 1 ;如果为 true ,则 x 、 y 、 r 、 colorStops 的坐标和元素是一致的(也就是说,原先用 1 表示物体最右侧,这时需要用元素实际宽度表示最右侧)。 |
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论