mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
18 lines
658 B
Text
18 lines
658 B
Text
|
interface TextMetrics {
|
||
|
// x-direction
|
||
|
readonly attribute double width; // advance width
|
||
|
readonly attribute double actualBoundingBoxLeft;
|
||
|
readonly attribute double actualBoundingBoxRight;
|
||
|
|
||
|
// y-direction
|
||
|
readonly attribute double fontBoundingBoxAscent;
|
||
|
readonly attribute double fontBoundingBoxDescent;
|
||
|
readonly attribute double actualBoundingBoxAscent;
|
||
|
readonly attribute double actualBoundingBoxDescent;
|
||
|
readonly attribute double emHeightAscent;
|
||
|
readonly attribute double emHeightDescent;
|
||
|
readonly attribute double hangingBaseline;
|
||
|
readonly attribute double alphabeticBaseline;
|
||
|
readonly attribute double ideographicBaseline;
|
||
|
};
|