mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-22 07:19:57 -05:00
Remove unsupported style properties for now.
This commit is contained in:
parent
8130ee458f
commit
baf519a841
1 changed files with 7 additions and 4 deletions
|
@ -17,10 +17,13 @@
|
|||
var PathStyle = this.PathStyle = Base.extend(new function() {
|
||||
/** @lends PathStyle# */
|
||||
|
||||
// TODO: remove windingRule / resolution / fillOverprint / strokeOverprint?
|
||||
var keys = ['windingRule', 'resolution', 'strokeColor', 'strokeWidth',
|
||||
'strokeCap', 'strokeJoin', 'dashOffset','dashArray', 'miterLimit',
|
||||
'strokeOverprint', 'fillColor', 'fillOverprint'],
|
||||
// windingRule / resolution / fillOverprint / strokeOverprint are currently
|
||||
// not supported. The full list of properties would be:
|
||||
// ['windingRule', 'resolution', 'strokeColor', 'strokeWidth',
|
||||
// 'strokeCap', 'strokeJoin', 'miterLimit', 'dashOffset','dashArray',
|
||||
// 'strokeOverprint', 'fillColor', 'fillOverprint'],
|
||||
var keys = ['strokeColor', 'strokeWidth', 'strokeCap', 'strokeJoin',
|
||||
'miterLimit', 'dashOffset','dashArray', 'fillColor'],
|
||||
strokeFlags = {
|
||||
strokeWidth: true,
|
||||
strokeCap: true,
|
||||
|
|
Loading…
Reference in a new issue