Skip to content

Commit 998f092

Browse files
committed
Add CanvasRenderingContext2D.imageSmoothingEnabled
1 parent 8de8df1 commit 998f092

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/scala/org/scalajs/dom/raw/lib.scala

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3767,6 +3767,13 @@ class CanvasRenderingContext2D extends js.Object {
37673767
*/
37683768
var textBaseline: String = js.native
37693769

3770+
/**
3771+
* A boolean value indicating whether to smooth scaled images or not. The default value is true.
3772+
*
3773+
* MDN
3774+
*/
3775+
var imageSmoothingEnabled: Boolean = js.native
3776+
37703777
/**
37713778
* Restores the drawing style state to the last element on the 'state stack' saved by
37723779
* save().

0 commit comments

Comments
 (0)