Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.23 KB

insetclip.md

File metadata and controls

32 lines (18 loc) · 1.23 KB
-api-id -api-type
T:Windows.UI.Composition.InsetClip
winrt class

Windows.UI.Composition.InsetClip

-description

Represents a rectangle that clips a portion of a visual. The portion of the visual inside the rectangle is visible; the portion of the visual outside the rectangle is clipped.

-remarks

InsetClip is functionally similar to RectangleClip, but RectangleClip allows you to round the corners of the clipping rectangle.

An InsetClip is defined using offsets in pixels from the bottom, left, right, and top of the Visual to be clipped.

To clip a Visual, you assign the InsetClip to the Clip property of the Visual.

It is possible to fully clip the entire Visual. Negative values are allowed. InsetClip supports all the same transforms as Visual except the 4x4 matrix. Unlike Visual, InsetClip is 2D and is defined, instead, with a 3x2 matrix. InsetClip properties are fully animatable.

-examples

-see-also

Visual.Clip, CompositionClip, IClosable