Class ClipPath
Clip stack operation constraining subsequent primitives to an arbitrary path. The rectangle-only ClipRect remains the cheaper choice for axis-aligned clips; this exists for shape outlines that are not rectangles.
public sealed class ClipPath : ILayoutPrimitive
- Inheritance
-
ClipPath
- Implements
- Inherited Members
Constructors
- ClipPath(IReadOnlyList<VectorPathSegment>, VectorFillRule, bool)
Initializes a clip operation.
Properties
- FillRule
Gets how the clip interior is determined.
- Push
Gets true when this primitive pushes a clip region; false when it pops.
- Segments
Gets the clip outline segments in order.
Methods
- Pop()
Creates a clip-pop operation.