

Code at a glance Custom dry ink rendering canvasīy default, ink input is processed on a low-latency background thread and rendered "wet" as it is drawn. Note: The platform target currently defaults to ARM, so be sure to change that to 圆4 or x86 if you want to test on a non-ARM device. The app will run in the emulator or on physical devices. You can Start Debugging (F5) or Start Without Debugging (Ctrl+F5) to try it out. ColoringBookPreprocessingGenerator - a utility for processing your own line art for use in the ColoringBook app.ColoringBook (default) - the actual coloring book app.There are two projects in the VS solution for this sample: To get the latest updates to Windows and the development tools, and to help shape their development, join You can use the free Visual Studio Community Edition to build and run Windows Universal Platform (UWP) apps.
Coloring book palette windows 10#
This sample requires Visual Studio 2019, the Microsoft.UI.Xaml 2.4 nuget package,Īnd the latest version of the Windows 10 SDK. These updates necessarily make the sample more complicated. This version of the sample includes extensive architecture, code, and functional improvements If you prefer, you can use project properties to retarget the project(s) to Windows 10, version 1903 (10.0 Build 18362).įor a simpler inking sample, see Coloring Book V1. Note - This sample is targeted and tested for Windows 10, version 2004 (10.0 Build 19041), and Visual Studio 2019. The current version of this sample includes updates to support WinUI 2.4 (including ColorPicker, ProgressBar, and ProgressRing). This sample does not cover Windows Ink Analysis. Process and add your own line art to the collection of coloring projects.Ink strokes constrained to predefined regions (boundaries specified by the line art).RadialController support and customizations.Windows Ink Toolbar with various customizations.Windows Ink with improved ink rendering performance using the custom ink drying APIs.The Coloring Book sample includes the following features: Touch inking, undo/redo), and a fully customized standalone color palette containingĪ much more extensive collection of colors. This sample app incorporates coloring book functionality (line art, standard inking tools suchĪs pen and pencil), a custom Ink Toolbar that features additional tools (flood fill, Using the extensive customization features provided by the inking and radial controller APIs,

