I am using the new Ink technology for Windows 10, by using InkCanvas/InkPresenter in UWP. Ink rendering is really nice, except I can't seem to be able to erase only a portion of a stroke. I am looking at OneNote, that I am assuming is using the same technology, and they do offer erasing of portion of a stroke. I know this wasn't possible when the InkCanvas/InkPresenter was first introduced, but I was wondering if there is a method to achieve this? Some way to mask the stroke to fake the eraser, maybe? Anyone has a suggestion?
Erasing portion of a stoke in UWP
478 Views Asked by ClaudiaWey At
1
There are 1 best solutions below
Related Questions in UWP
- Error connecting UWP app to Arduino by USB
- Need xaml ellipse to contain two fill colors that can move up or down like filling a gas tank
- OAuth in PlayReady License Retrieval in UWP
- Cannot set combobox selected item opening a view
- UWP MediaPlayerElement Backwards Compatibility
- How to completely close/release a WebView after it has loaded a youtube link?
- My application has no rights on any folder
- UWP Get Rotation Value (Angle) from Storyboard Animation During or After
- How to load images to a page as soon as they are loaded from a folder in UWP
- How to store setting with UWP C#?
- Cannot create an URI file from text-to-speech audio on UWP
- Create and Delete Folder. Move the file to folder and move the file to outside of the folder
- Using custom video Effects with MediaElement
- UWP xaml: How to display a button with icon and text in it?
- Enlarge image after click C# UWP
Related Questions in INKCANVAS
- Converting InkCanvas Strokes to a Byte Array and back again
- C#/WPF Ink Stroke with IsManipulationEnabled?
- How to Erase InkCanvas Strokes in Universal Windows Platform (Windows 10) app?
- How to modifying InkStrokes of an InkCanvas in .net?
- InkCanvas MVVM binding in UWP
- WPF : how to save stroke collection to bitmap?
- Saving Ink Canvas to stream results in blank .GIF
- InkCanvas to BitMap
- What events are triggered during drawing with stylus using InkCanvas WPF?
- Find the coordinates of each point in an InkCanvas
- How to get scaled UWP inkstroke points?
- Save Windows Ink as transparent PNG image - missing highlighter strokes
- How to do the undo and redo operations in the InkCanvas UWP?
- Draw ink on 2 inkCanvases at the same time
- WPF - InkCanvas touchscreen problem
Related Questions in ERASER
- Slow performance on ipad erasing image
- java 2d graphics eraser
- How to freehand erase on a SKCanvasView?
- How to change power BI eraser icon´s color in slicer visual?
- Windows Forms Surface Pen Eraser Detection
- Jquery Image Eraser plugin
- Using an eraser over image in Flutter
- Implementing an eraser in an Android drawing app - black trail and then transparent
- android erasing bitmap. - Not able to save the proper bitmap
- Creating an Eraser for an Android Drawing App
- Erasing portion of a stoke in UWP
- Path draw in opposite direction at canvas when rotate android
- How to delete shapes drawn on an Image
- How to delete a drawn line on a form?
- Erasing bitmap contents on canvas
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can have a look at Microsoft's Coloring book sample where you can erase cell(Portion of stroke). They have created a Custom InkToolbar with flood fill, erase cell and much more.
https://github.com/Microsoft/Windows-appsample-coloringbook
Hope it helps.
Edit
You can intercept default inkcanvas events and set handler to avoid the event to take place.