FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PenDevice

    struct · ferroui-base · v0.5.0

    struct PenDevice
    

    Represents a pen/stylus device.

    View source

    Members

    new

    fn new(release_pointer_on_pen_up: bool) -> Rc<PenDevice>
    

    Creates a pen device. release_pointer_on_pen_up tells whether the pointer is released when the pen is lifted.

    Source

    dispose

    fn dispose(self: &Self)
    

    Releases the device and its pointers.

    Source

    Trait implementations

    Availability

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