Skip to content

Commit 7c0748b

Browse files
committed
Add CanvasRenderingContext2D.imageSmoothingEnabled
1 parent 256f329 commit 7c0748b

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

+7
Original file line numberDiff line numberDiff line change
@@ -3840,6 +3840,13 @@ class CanvasRenderingContext2D extends js.Object {
38403840
*/
38413841
var textBaseline: String = js.native
38423842

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

0 commit comments

Comments
 (0)