FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Inline

    struct · ferroui-controls · v0.5.0

    struct Inline
    

    Inline is the base class for inline text elements.

    This class is abstract.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<Inline>
    

    Returns a strong reference to this object.

    Source

    text_decorations_property

    fn text_decorations_property() -> &'static AttachedProperty<Option<TextDecorationCollection>>
    

    AttachedProperty for the TextDecorations property.

    Source

    baseline_alignment_property

    fn baseline_alignment_property() -> &'static StyledProperty<BaselineAlignment>
    

    StyledProperty for the BaselineAlignment property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    text_decorations

    fn text_decorations(self: &Self) -> Option<TextDecorationCollection>
    

    The TextDecorations property specifies decorations that are added to the text of an element.

    Source

    set_text_decorations

    fn set_text_decorations(self: &Self, value: Option<TextDecorationCollection>)
    

    Source

    baseline_alignment

    fn baseline_alignment(self: &Self) -> BaselineAlignment
    

    Describes how the baseline for a text-based element is positioned on the vertical axis, relative to the established baseline for text.

    Source

    set_baseline_alignment

    fn set_baseline_alignment(self: &Self, value: BaselineAlignment)
    

    Source

    get_text_decorations

    fn get_text_decorations(control: &Control) -> Option<TextDecorationCollection>
    

    Gets the value of the attached TextDecorations property on a control.

    Source

    set_text_decorations_on

    fn set_text_decorations_on(control: &Control, value: Option<TextDecorationCollection>)
    

    Sets the value of the attached TextDecorations property on a control.

    Source

    create_text_run_properties

    fn create_text_run_properties(self: &Self) -> Rc<dyn TextRunProperties>
    

    Creates the run properties of the text of the inline.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.