FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    JustificationProperties

    trait · ferroui-base · v0.5.0

    trait JustificationProperties
    

    Describes how a line is justified.

    View source

    Members

    width

    fn width(self: &Self) -> f64
    

    Gets the width in which the range is justified.

    Source

    justify

    fn justify(self: &Self, text_line: &dyn TextLine)
    

    Justifies given text line.

    Source

    Trait implementations

    Availability

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