0.0.15 • Published 1 year ago

graphics-tools v0.0.15

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Graphics Tools

install:
npm i graphics-tools
import:
import GraphicsTools from 'graphics-tools';
Vue.use(GraphicsTools);
vue use:
<GraphicsTools/>
Support props:
props: {
    //右侧事件列表的宽度
    rightSectionWidth: {
      type: String,
    },
    //默认点的颜色
    defaultPointColor: {
      type: String,
    },
    //默认线条颜色
    defaultLineColor: {
      type: String,
    },
    //是否区分不同类型线的颜色
    isShowColorfulLine: {
      type: Boolean,
    },
    //是否显示绘制形状中间的文本,ex:3D标注
    isShowCenterText: {
      type: Boolean,
    },
    //相机id
    cameraId: {
      type: [String, Number],
    },
    // 图片链接
    imgUrl: {
      type: String,
    },
    // 右侧的配置项,有哪些题目
    tagsConf: {
      type: Object,
    },
    //支持更改线颜色
    colorfulLabelNames: {
      type: Object,
    },
    // 标注内容
    markData: {
      type: Object,
    },
    // 默认的过滤图形
    defaultFilter: Array,
    //是否显示过滤图形 -> default:false
    showFilterGraphics: false,
    //是否显示:提示 -> 2d门线 default:false
    isTipsCanvas: false,
  },
graphics-tools安装依赖请使用node最新版本

设置镜像 publish.sh保持一致: 发布到公共npm: npm config set registry https://registry.npmjs.org/ 发布到私服npm: npm config set registry https://npm.aibee.cn/(503)

发布: sh publish.sh 登录npm npm publish 发包至登录账户的Packages下

0.0.15

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.9

1 year ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago