Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphics-tools

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphics-tools

###### install: ``` npm i graphics-tools ```

  • 0.0.15
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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下

Keywords

FAQs

Package last updated on 30 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc