Trait script::dom::bindings::codegen::Bindings::TextMetricsBinding::TextMetrics_Binding::TextMetricsMethods
source · pub trait TextMetricsMethods {
// Required methods
fn Width(&self) -> Finite<f64>;
fn ActualBoundingBoxLeft(&self) -> Finite<f64>;
fn ActualBoundingBoxRight(&self) -> Finite<f64>;
fn FontBoundingBoxAscent(&self) -> Finite<f64>;
fn FontBoundingBoxDescent(&self) -> Finite<f64>;
fn ActualBoundingBoxAscent(&self) -> Finite<f64>;
fn ActualBoundingBoxDescent(&self) -> Finite<f64>;
fn EmHeightAscent(&self) -> Finite<f64>;
fn EmHeightDescent(&self) -> Finite<f64>;
fn HangingBaseline(&self) -> Finite<f64>;
fn AlphabeticBaseline(&self) -> Finite<f64>;
fn IdeographicBaseline(&self) -> Finite<f64>;
}