Nutritious Pomegranate Muffins

    @antv/g-plugin-svg-renderer
    TypeScript icon, indicating that this package has built-in type declarations

    1.8.28 • Public • Published

    @antv/g-plugin-svg-renderer

    使用 SVG 绘制各类图形。

    • mounted 使用 DOM API 创建 SVGElement
    • unmounted 移除 SVGElement
    • renderFrame 对于每一个图形,应用变换,设置 SVGElement 属性
    • attributeChanged 更新 SVGElement 属性。如果是 z-index 改变,需要对 SVGElement 重新排序

    使用方式

    import { Plugin } from '@antv/g-plugin-svg-renderer';
    
    // create a renderer
    const svgRenderer = new SVGRenderer();
    svgRenderer.registerPlugin(new Plugin());

    Keywords

    Install

    npm i @antv/g-plugin-svg-renderer

    DownloadsWeekly Downloads

    446

    Version

    1.8.28

    License

    MIT

    Unpacked Size

    348 kB

    Total Files

    45

    Last publish

    Collaborators

    • basketduck
    • biupiubiupiu
    • flash1
    • dreammy23
    • laixingui.lxg
    • zhangjunjie-loki
    • rainy25ghz
    • zeyuwang
    • yanxiong
    • susiwen8
    • freestyle21
    • soundquiet
    • elaine.q.10
    • sturuby
    • lviser
    • sakuya223
    • serializedowen
    • xdzhao
    • yangzhanmei
    • wjgogogo
    • leungwensen
    • dori
    • iaaron
    • yard
    • simaq
    • dxq613
    • intchous
    • susan_ann
    • jinke.li
    • lzxue
    • army8735
    • atool
    • baizn
    • dengfuping
    • neoddish
    • jeffy2012
    • zqlu
    • afc163
    • pomelo-nwu
    • kopiluwaky
    • ccnuzindex
    • panyuqi
    • bubkoo
    • zengyue
    • kasmine
    • boyu.zlj
    • l1ud0ngq1
    • newbyvector
    • winniexing
    • chenluli
    • kn9117
    • xdddst
    • semious2020
    • esora
    • nadia_liu
    • bbsqq
    • mxz96102
    • openwayne
    • pearmini
    • pddpd
    • yiqianyao
    • zhanba
    • cxxxxxn