TextBlockImpl
trait · ferroui-controls · v0.5.0
trait TextBlockImpl: ControlImpl + $crate::Upcast<TextBlock>
The overridable members introduced by the class.
Members
render_text_layout
fn render_text_layout(this: &Self, context: &mut DrawingContext<'_>, origin: Point)
Renders the text layout to a drawing context.
create_text_layout
fn create_text_layout(this: &Self, text: Option<&str>) -> Rc<TextLayout>
Creates the TextLayout used to render the text.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.