GlyphRunDrawing
struct · ferroui-base · v0.5.0
struct GlyphRunDrawing
Represents a drawing of a GlyphRun with a foreground brush.
Members
TYPEto_refforeground_propertyglyph_run_propertyconstructnewforegroundset_foregroundglyph_runset_glyph_run
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<GlyphRunDrawing>
Returns a strong reference to this object.
foreground_property
fn foreground_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
Defines the Foreground property.
glyph_run_property
fn glyph_run_property() -> &'static StyledProperty<Option<Rc<GlyphRun>>>
Defines the GlyphRun property.
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
foreground
fn foreground(self: &Self) -> Option<Rc<dyn IBrush>>
The brush the glyph run is drawn with.
set_foreground
fn set_foreground(self: &Self, value: Option<Rc<dyn IBrush>>)
glyph_run
fn glyph_run(self: &Self) -> Option<Rc<GlyphRun>>
The glyph run that is drawn.
set_glyph_run
fn set_glyph_run(self: &Self, value: Option<Rc<GlyphRun>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeDrawingImplExtFerroObjectImplExtClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDerefUpcast<T>Upcast<GlyphRunDrawing>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplDrawingImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.