All Projects → sunniejs → Vue Canvas Poster

sunniejs / Vue Canvas Poster

vue生成海报图,一个通过 css 属性画 canvas 图片的轻量级的 vue 组件 (Vue poster,a lightweight vue component that draws canvas images via css properties.)

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Vue Canvas Poster

UltraTypeBot
A fast, easy to use bot for NitroType.com
Stars: ✭ 24 (-91.46%)
Mutual labels:  canvas
Earthbound Battle Backgrounds Js
A JavaScript project that generates all the Earthbound/Mother 2 backgrounds.
Stars: ✭ 258 (-8.19%)
Mutual labels:  canvas
Fediagram
图说前端>>收集各种前端技术图谱 🚕🚖🚗🚚🚛🚜
Stars: ✭ 273 (-2.85%)
Mutual labels:  canvas
Isomer
Isomer is an easy-to-use graphics library for drawing isometric scenes.
Stars: ✭ 2,767 (+884.7%)
Mutual labels:  canvas
Flutter Canvas
About using of canvas in the flutter
Stars: ✭ 259 (-7.83%)
Mutual labels:  canvas
Sessions
A series of creative coding sessions
Stars: ✭ 262 (-6.76%)
Mutual labels:  canvas
Pancake
Lightweight, Fast, Easy-to-use HTML5 2D game framework!
Stars: ✭ 79 (-71.89%)
Mutual labels:  canvas
Dygraphs
Interactive visualizations of time series using JavaScript and the HTML canvas tag
Stars: ✭ 2,953 (+950.89%)
Mutual labels:  canvas
Zimjs
ZIM JavaScript Canvas Framework - Code Creativity! Interactive Media For All.
Stars: ✭ 259 (-7.83%)
Mutual labels:  canvas
Code To Image
Convert blocks of code to a highlighted jpeg base64 image.
Stars: ✭ 271 (-3.56%)
Mutual labels:  canvas
Photoeditor
A Photo Editor library with simple, easy support for image editing using paints,text,filters,emoji and Sticker like stories.
Stars: ✭ 3,105 (+1004.98%)
Mutual labels:  canvas
Front Ui
😄 🎨 Collect some front-end special effects (收集一些前端特效)
Stars: ✭ 259 (-7.83%)
Mutual labels:  canvas
Smartchart
一款android 图表框架,支持图表N配置,支持缩放,旋转手势。
Stars: ✭ 266 (-5.34%)
Mutual labels:  canvas
Simple Draw
A canvas you can draw on with different colors.
Stars: ✭ 256 (-8.9%)
Mutual labels:  canvas
Beziermaker.js
arbitrary order bézier-curve generator
Stars: ✭ 277 (-1.42%)
Mutual labels:  canvas
jqCandlestick
jQuery plugin for creating line, bar and candlestick charts.
Stars: ✭ 13 (-95.37%)
Mutual labels:  canvas
Dynamic effect
平时练习的一些前端动效,基于HTML5,CSS3,Canvas,Svg
Stars: ✭ 264 (-6.05%)
Mutual labels:  canvas
Legofy
Legofy your images with retina support using SVG.
Stars: ✭ 281 (+0%)
Mutual labels:  canvas
Html5 Canvas Animation
🚀 3D lines animation with three.js
Stars: ✭ 278 (-1.07%)
Mutual labels:  canvas
Canvas Designer
Collaborative, extendable, JavaScript Canvas2D drawing tool, supports dozens of builtin tools, as well as generates JavaScript code for 2D animations.
Stars: ✭ 268 (-4.63%)
Mutual labels:  canvas

Vue Canvas Poster 🎉

Vue Canvas Poster 一个通过 css 属性画 canvas 图片的轻量级的 vue 组件。 (A lightweight vue components use canvas draw image by css properties.)

Vue Canvas Poster 文档

主要特性:

  • 绘制文本(换行、超出内容省略号、中划线、下划线、文本加粗、文字缩进)
  • 绘制图片(圆角、旋转、边框、模式:类似小程序 image mode)
  • 绘制矩形(圆角、旋转、边框)
  • 绘制二维码
  • 渐变
  • 阴影

为什么使用 vue-canvas-poster

简单: 使用类css属性的方式生成canvas图。
易用: 通过npm安装,简单上手 。
无依赖: 无其他依赖库。
高清: 可以通过 widthPixels 设置生成图片尺寸,解决图片模糊问题。

升级说明

v1.2.0 2020-12-25 1. 文字添加 textIndent 属性,可为文字添加首行缩进样式。2. 文字fontWeight 字重,从原来只能设置'normal', 'bold' 现在增加至可设置'normal', 'bold', 'bolder', 'lighter', '100', '200', '300', '400', '500', '600', '700', '800', '900'。

v1.0.0 以上增加了很多特性,新老版本不兼容,请谨慎升级,老版本不在维护,如果你用的是老版本的请移步 0.1.16

注意:版本 v1.1.1 及以上采用 VueCanvasPoster 大写,低版本vueCanvasPoster升级需要修改

import { VueCanvasPoster } from 'vue-canvas-poster'

预览

线上 Demo

查看 demo 建议手机端查看

手机扫码查看

上线项目

关注我的知乎,掘金

知乎: vue canvas 生成微信分享海报
掘金: vue canvas 生成微信分享海报

特别鸣谢 ​

Painter

贡献代码

使用过程中发现任何问题都可以提Issue 给我,也非常欢迎 PR 或 Pull Request

如何找到失散已久的组织?

    扫描下方二维码👇👇关注“前端女塾”

关注公众号:回复“加群”即可加 前端仙女群

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].