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

i-painter

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i-painter

i-Painter

  • 1.0.0-beta.2
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

i-Painter

以简化 Canvas 渲染流程为核心,同时可使用 [JSAPI] 方法调用 和 [JSON] 配置渲染 完成 Canvas 的绘制。

主要应用于 简单的 Canvas 绘制的需求,例如分享海报等。

  • 解决移动端 PX 转 REM 后的适配问题
  • 解决了不同设备像素比海报生成模式的问题
  • 简化 Canvas 的开发流程

未来构想: 通过页面可视化托拉拽的方式实现前端三行代码完成复杂 Canvas 的绘制。

[JSPAI]

  • drawImage

  • drawText

  • drawRect

  • drawRound

  • getDataURL

  • toElementImage [JSON]

Keywords

FAQs

Package last updated on 10 Nov 2021

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