Automattic/node-canvas

Support for color values with percentage representation ?

Open

#1,391 建立於 2019年3月22日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (1,140 fork)batch import
FeatureHelp wanted

倉庫指標

Star
 (9,524 star)
PR 合併指標
 (平均合併 34天 18小時) (30 天內合併 2 個 PR)

描述

Issue or Feature

The current implementation looks like ignoring color value with percentage representations rgba(100%,100%,100%,1.0). It is valid css color value according to this document. Is there any plan for supporting this or am I overlooking something ?

A library I am using outputs with this format and I am stuck here :S

Your Environment

  • Version of node-canvas (output of npm list canvas or yarn list canvas): canvas@2.4.1
  • Environment (e.g. node 4.2.0 on Mac OS X 10.8): Mac OS X 10.4.3

貢獻者指南