JS: get rid of float type from CanvasRenderingContext2D
@@ -117,9 +117,9 @@ public interface CanvasRenderingContext2D extends JSObject {
void strokeRect(double x, double y, double w, double h);
- void strokeText(String text, float x, float y, float maxWidth);
+ void strokeText(String text, double x, double y, double maxWidth);
- void strokeText(String text, float x, float y);
+ void strokeText(String text, double x, double y);
// Transformation
@@ -162,10 +162,10 @@ public interface CanvasRenderingContext2D extends JSObject {
void setLineCap(String lineCap);
@JSProperty
- float getLineDashOffset();
+ double getLineDashOffset();
@JSProperty
- void setLineDashOffset(float lineDashOffset);
+ void setLineDashOffset(double lineDashOffset);
@JSProperty
String getLineJoin();
