Table Of Contents
Stencil View¶
New in version 1.0.4.
StencilView limits the drawing of child widgets to the StencilView’s bounding box. Any drawing outside the bounding box will be clipped (trashed).
The StencilView uses the stencil graphics instructions under the hood. It provides an efficient way to clip the drawing area of children.
Note
As with the stencil graphics instructions, you cannot stack more than 8 stencil-aware widgets.
- class kivy.uix.stencilview.StencilView(**kwargs)¶
Bases: kivy.uix.widget.Widget
StencilView class. See module documentation for more information.