FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WriteableBitmapRenderAction

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct WriteableBitmapRenderAction
    

    Invokes an IWriteableBitmapRenderer to render into a bitmap.

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

    Returns a strong reference to this object.

    Source

    renderer_property

    fn renderer_property() -> &'static StyledProperty<Option<Rc<dyn IWriteableBitmapRenderer>>>
    

    Identifies the Renderer property.

    Source

    bitmap_property

    fn bitmap_property() -> &'static StyledProperty<Option<WriteableBitmapRef>>
    

    Identifies the Bitmap property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Creates an action.

    Source

    renderer

    fn renderer(self: &Self) -> Option<Rc<dyn IWriteableBitmapRenderer>>
    

    Gets or sets the renderer used when executing the action. This is a property of the object model.

    Source

    set_renderer

    fn set_renderer(self: &Self, value: Option<Rc<dyn IWriteableBitmapRenderer>>)
    

    Source

    bitmap

    fn bitmap(self: &Self) -> Option<WriteableBitmapRef>
    

    Gets or sets the target bitmap. This is a property of the object model.

    Source

    set_bitmap

    fn set_bitmap(self: &Self, value: Option<WriteableBitmapRef>)
    

    Source

    Trait implementations

    Availability

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