mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-28 22:08:54 -04:00
Expose nativeBlendModes and amend BlendModes example with information about the use of native modes.
This commit is contained in:
parent
4c444f266f
commit
c6e50375df
2 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
@ -66,7 +66,7 @@ var PaperScope = Base.extend(/** @lends PaperScope# */{
|
|||
var ctx = CanvasProvider.getContext(1, 1);
|
||||
PaperScope.prototype.support = {
|
||||
nativeDash: 'setLineDash' in ctx || 'mozDash' in ctx,
|
||||
nativeBlend: BlendMode.nativeModes
|
||||
nativeBlendModes: BlendMode.nativeModes
|
||||
};
|
||||
CanvasProvider.release(ctx);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue