Class DrawContext
Tracks the region that has been drawn during Draw(IEnumerable<View>, bool). This is primarily in support of Transparent.
public class DrawContext
- Inheritance
-
DrawContext
- Inherited Members
Methods
- AddDrawnRectangle(Rectangle)
Reports that a rectangle has been drawn.
- AddDrawnRegion(Region)
Reports that a region has been drawn.
- ClipDrawnRegion(Rectangle)
Clips (intersects) the drawn region with the specified rectangle. This modifies the internal drawn region directly.
- ClipDrawnRegion(Region)
Clips (intersects) the drawn region with the specified region. This modifies the internal drawn region directly.
- GetDrawnRegion()
Gets a copy of the region drawn so far in this context.