mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -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 {
|
||||
@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