FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    GlyphRunDrawing

    struct · ferroui-base · v0.5.0

    struct GlyphRunDrawing
    

    Represents a drawing of a GlyphRun with a foreground brush.

    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<GlyphRunDrawing>
    

    Returns a strong reference to this object.

    Source

    foreground_property

    fn foreground_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
    

    Defines the Foreground property.

    Source

    glyph_run_property

    fn glyph_run_property() -> &'static StyledProperty<Option<Rc<GlyphRun>>>
    

    Defines the GlyphRun property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data.

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    foreground

    fn foreground(self: &Self) -> Option<Rc<dyn IBrush>>
    

    The brush the glyph run is drawn with.

    Source

    set_foreground

    fn set_foreground(self: &Self, value: Option<Rc<dyn IBrush>>)
    

    Source

    glyph_run

    fn glyph_run(self: &Self) -> Option<Rc<GlyphRun>>
    

    The glyph run that is drawn.

    Source

    set_glyph_run

    fn set_glyph_run(self: &Self, value: Option<Rc<GlyphRun>>)
    

    Source

    Trait implementations

    Availability

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