mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 00:24:11 -08:00
JS: get rid of float type from CanvasRenderingContext2D
This commit is contained in:
parent
b57b628107
commit
c1d4ed2e3c
|
@ -117,9 +117,9 @@ public interface CanvasRenderingContext2D extends JSObject {
|
||||||
|
|
||||||
void strokeRect(double x, double y, double w, double h);
|
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
|
// Transformation
|
||||||
|
|
||||||
|
@ -162,10 +162,10 @@ public interface CanvasRenderingContext2D extends JSObject {
|
||||||
void setLineCap(String lineCap);
|
void setLineCap(String lineCap);
|
||||||
|
|
||||||
@JSProperty
|
@JSProperty
|
||||||
float getLineDashOffset();
|
double getLineDashOffset();
|
||||||
|
|
||||||
@JSProperty
|
@JSProperty
|
||||||
void setLineDashOffset(float lineDashOffset);
|
void setLineDashOffset(double lineDashOffset);
|
||||||
|
|
||||||
@JSProperty
|
@JSProperty
|
||||||
String getLineJoin();
|
String getLineJoin();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user