@@ -18,4 +18,46 @@ extern "C" {
18
18
#[ doc = "" ]
19
19
#[ doc = "*This API requires the following crate features to be activated: `TextMetrics`*" ]
20
20
pub fn width ( this : & TextMetrics ) -> f64 ;
21
+ # [ wasm_bindgen ( structural , method , getter , js_class = "TextMetrics" , js_name = actualBoundingBoxLeft) ]
22
+ #[ doc = "Getter for the `actualBoundingBoxLeft` field of this object." ]
23
+ #[ doc = "" ]
24
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/actualBoundingBoxLeft)" ]
25
+ #[ doc = "" ]
26
+ #[ doc = "*This API requires the following crate features to be activated: `TextMetrics`*" ]
27
+ pub fn actual_bounding_box_left ( this : & TextMetrics ) -> f64 ;
28
+ # [ wasm_bindgen ( structural , method , getter , js_class = "TextMetrics" , js_name = actualBoundingBoxRight) ]
29
+ #[ doc = "Getter for the `actualBoundingBoxRight` field of this object." ]
30
+ #[ doc = "" ]
31
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/actualBoundingBoxRight)" ]
32
+ #[ doc = "" ]
33
+ #[ doc = "*This API requires the following crate features to be activated: `TextMetrics`*" ]
34
+ pub fn actual_bounding_box_right ( this : & TextMetrics ) -> f64 ;
35
+ # [ wasm_bindgen ( structural , method , getter , js_class = "TextMetrics" , js_name = fontBoundingBoxAscent) ]
36
+ #[ doc = "Getter for the `fontBoundingBoxAscent` field of this object." ]
37
+ #[ doc = "" ]
38
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/fontBoundingBoxAscent)" ]
39
+ #[ doc = "" ]
40
+ #[ doc = "*This API requires the following crate features to be activated: `TextMetrics`*" ]
41
+ pub fn font_bounding_box_ascent ( this : & TextMetrics ) -> f64 ;
42
+ # [ wasm_bindgen ( structural , method , getter , js_class = "TextMetrics" , js_name = fontBoundingBoxDescent) ]
43
+ #[ doc = "Getter for the `fontBoundingBoxDescent` field of this object." ]
44
+ #[ doc = "" ]
45
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/fontBoundingBoxDescent)" ]
46
+ #[ doc = "" ]
47
+ #[ doc = "*This API requires the following crate features to be activated: `TextMetrics`*" ]
48
+ pub fn font_bounding_box_descent ( this : & TextMetrics ) -> f64 ;
49
+ # [ wasm_bindgen ( structural , method , getter , js_class = "TextMetrics" , js_name = actualBoundingBoxAscent) ]
50
+ #[ doc = "Getter for the `actualBoundingBoxAscent` field of this object." ]
51
+ #[ doc = "" ]
52
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/actualBoundingBoxAscent)" ]
53
+ #[ doc = "" ]
54
+ #[ doc = "*This API requires the following crate features to be activated: `TextMetrics`*" ]
55
+ pub fn actual_bounding_box_ascent ( this : & TextMetrics ) -> f64 ;
56
+ # [ wasm_bindgen ( structural , method , getter , js_class = "TextMetrics" , js_name = actualBoundingBoxDescent) ]
57
+ #[ doc = "Getter for the `actualBoundingBoxDescent` field of this object." ]
58
+ #[ doc = "" ]
59
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/actualBoundingBoxDescent)" ]
60
+ #[ doc = "" ]
61
+ #[ doc = "*This API requires the following crate features to be activated: `TextMetrics`*" ]
62
+ pub fn actual_bounding_box_descent ( this : & TextMetrics ) -> f64 ;
21
63
}
0 commit comments