Giter VIP home page Giter VIP logo

seal's Introduction

Pansy Seal

强大的印章组件,帮你快速的生成印章。

npm version npm download stars-image forks-image packagephobia

注意!注意!注意!本库只为个人研究学习所用,请勿用于违法相关!

🏗 安装

// npm
npm install @pansy/seal --save

// yarn
yarn add @pansy/seal

// pnpm
pnpm install @pansy/seal

🔨 使用

import { Seal } from '@pansy/seal';

const seal = new Seal({ ... });

// 如果需要修改印章参数,请调用
seal.update({ ... });

// 销毁印章
seal.destroy();

📸 印章概览

印章包含以下内容

🧑‍💻 API

属性 说明 类型 默认值
type 印章类型,分为公司印章、个人印章 company | personal company
shape 指定印章的形状,仅公司印章有效 circle | square| ellipse circle
color 印章颜色,各分部的颜色可单独指定 string red
showTransparent 是否显示透明背景, 下载时请隐藏 boolean true
width 指定印章的宽度 number 300
height 指定印章的高度 number 300
fiveStar 五角星配置 any -
text 主文字配置 any -
subText 副文字配置 any -
centerText 中心文字配置 any -
border 边线配置 any -
innerBorder 内边线配置 any -
innerLoopLine 内环线配置 any -

🌟 社区互助

Github Issue 钉钉群 微信群
issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.