Skip to content

Commit

Permalink
Renamed CanvasRenderingContext2D JSInterop class
Browse files Browse the repository at this point in the history
  • Loading branch information
salmonb committed Feb 20, 2024
1 parent f9c2630 commit 0b53b60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @author Bruno Salmon
*/
@JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "CanvasRenderingContext2D")
final class CanvasRenderingContext2DWithSetTransform extends CanvasRenderingContext2D {
final class CanvasRenderingContext2DWithMatrixSetTransform extends CanvasRenderingContext2D {

@JsMethod
public native void setTransform(DOMMatrixReadOnly transform);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @author Bruno Salmon
*/
final class Context2DStateSnapshot {
private final CanvasRenderingContext2DWithSetTransform ctx;
private final CanvasRenderingContext2DWithMatrixSetTransform ctx;
private final BaseRenderingContext2D.FillStyleUnionType fillStyle;
private final BaseRenderingContext2D.StrokeStyleUnionType strokeStyle;
private final double lineWidth;
Expand Down

0 comments on commit 0b53b60

Please sign in to comment.