Skip to content

Commit e1b7a10

Browse files
committed
Add CanvasRenderingContext2D.imageSmoothingEnabled
1 parent 248b71c commit e1b7a10

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
@@ -3842,6 +3842,13 @@ class CanvasRenderingContext2D extends js.Object {
38423842
*/
38433843
var textBaseline: String = js.native
38443844

3845+
/**
3846+
* A boolean value indicating whether to smooth scaled images or not. The default value is true.
3847+
*
3848+
* MDN
3849+
*/
3850+
var imageSmoothingEnabled: Boolean = js.native
3851+
38453852
/**
38463853
* Restores the drawing style state to the last element on the 'state stack' saved by
38473854
* save().

0 commit comments

Comments
 (0)