InkToolbarCustomPen
struct · ferroui-controls-inking · v0.5.0
struct InkToolbarCustomPen
Custom pen construction uses a real virtual dispatch, so subclasses can define the nib.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<InkToolbarCustomPen>
Returns a strong reference to this object.
create_ink_drawing_attributes_core
fn create_ink_drawing_attributes_core(self: &Self, brush: Option<Rc<dyn IBrush>>, stroke_width: f64) -> Result<InkDrawingAttributes, InkError>
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
create_ink_drawing_attributes
fn create_ink_drawing_attributes(self: &Self, brush: Option<Rc<dyn IBrush>>, stroke_width: f64) -> Result<InkDrawingAttributes, InkError>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeInkToolbarCustomPenImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherIUnknownImplDerefUpcast<T>Upcast<InkToolbarCustomPen>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplInkToolbarCustomPenImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.