WriteableBitmapRenderAction
struct · ferroui-xaml-interactions-custom · v0.5.0
struct WriteableBitmapRenderAction
Invokes an IWriteableBitmapRenderer to render into a bitmap.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<WriteableBitmapRenderAction>
Returns a strong reference to this object.
renderer_property
fn renderer_property() -> &'static StyledProperty<Option<Rc<dyn IWriteableBitmapRenderer>>>
Identifies the Renderer property.
bitmap_property
fn bitmap_property() -> &'static StyledProperty<Option<WriteableBitmapRef>>
Identifies the Bitmap property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates an action.
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.
set_renderer
fn set_renderer(self: &Self, value: Option<Rc<dyn IWriteableBitmapRenderer>>)
bitmap
fn bitmap(self: &Self) -> Option<WriteableBitmapRef>
Gets or sets the target bitmap. This is a property of the object model.
set_bitmap
fn set_bitmap(self: &Self, value: Option<WriteableBitmapRef>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<WriteableBitmapRenderAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.