FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    InkDrawingAttributes

    struct · ferroui-controls-inking · v0.5.0

    struct InkDrawingAttributes
    

    A value snapshot. Changing presenter defaults never mutates completed ink. size describes the nib at full pressure, in device-independent pixels.

    View source

    Members

    color

    color: ferroui_base::media::Color
    

    Source

    size

    size: ferroui_base::Size
    

    Source

    pen_tip

    pen_tip: PenTipShape
    

    Source

    pen_tip_transform

    pen_tip_transform: ferroui_base::Matrix
    

    Source

    draw_as_highlighter

    draw_as_highlighter: bool
    

    Source

    ignore_pressure

    ignore_pressure: bool
    

    Source

    fit_to_curve

    fit_to_curve: bool
    

    Source

    ignore_tilt

    ignore_tilt: bool
    

    Source

    kind

    kind: InkDrawingAttributesKind
    

    Source

    pencil_opacity

    pencil_opacity: f64
    

    Source

    new

    fn new() -> Self
    

    Source

    create_for_pencil

    fn create_for_pencil() -> Self
    

    Source

    validate

    fn validate(self: &Self) -> Result<(), InkError>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • IUnknownImpl
    • MarkupTyped
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Default

    Availability

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