mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-08 07:54:11 -08:00
JSO: TextMetrics addition
This commit is contained in:
parent
ac8cb377c3
commit
db69f8ec58
|
@ -20,5 +20,23 @@ import org.teavm.jso.JSProperty;
|
||||||
|
|
||||||
public interface TextMetrics extends JSObject {
|
public interface TextMetrics extends JSObject {
|
||||||
@JSProperty
|
@JSProperty
|
||||||
int getWidth();
|
double getWidth();
|
||||||
|
|
||||||
|
@JSProperty
|
||||||
|
double getActualBoundingBoxAscent();
|
||||||
|
|
||||||
|
@JSProperty
|
||||||
|
double getActualBoundingBoxDescent();
|
||||||
|
|
||||||
|
@JSProperty
|
||||||
|
double getActualBoundingBoxLeft();
|
||||||
|
|
||||||
|
@JSProperty
|
||||||
|
double getActualBoundingBoxRight();
|
||||||
|
|
||||||
|
@JSProperty
|
||||||
|
double getFontBoundingBoxAscent();
|
||||||
|
|
||||||
|
@JSProperty
|
||||||
|
double getFontBoundingBoxDescent();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user