Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 2.52 KB

iinkpresenterstencil.md

File metadata and controls

30 lines (18 loc) · 2.52 KB
-api-id -api-type
T:Windows.UI.Input.Inking.IInkPresenterStencil
winrt interface

Windows.UI.Input.Inking.IInkPresenterStencil

-description

Represents a visual stencil, displayed as an semi-transparent overlay on an InkCanvas.

The stencil transforms how an ink stroke is rendered:

  • It snaps the ink stroke to the stencil edge if the pen tip is within a distance threshold (gutter).
  • It acts as a mask and prevents the drawing of an ink stroke within the area obscured by the stencil.

The stencil can be manipulated both programmatically and by the user. It also scales and translates with the InkCanvas.

-remarks

-examples

-see-also

Windows.UI.Input.Inking Interfaces, Pen and stylus interactions, Get started: Support ink in your UWP app, Ink analysis sample (basic) (C#), Ink handwriting recognition sample (C#), Save and load ink strokes from an Ink Serialized Format (ISF) file, Save and load ink strokes from the clipboard, Ink toolbar location and orientation sample (basic), Ink toolbar location and orientation sample (dynamic), Coloring book sample, Family notes sample, Inking sample (JavaScript), Simple inking sample (C#/C++), Complex inking sample (C++), Ink analysis sample