DrawContextExtensions Class
Scoped helpers for IDrawContext state that auto-restore on dispose.
public static class DrawContextExtensions
Inheritance System.Object → DrawContextExtensions
| Methods | |
|---|---|
| UseBlendMode(this IDrawContext, BlendMode) | Sets the blend mode and returns a scope that restores the previous mode on dispose. |
| UseRenderLayer(this IDrawContext, byte) | Sets the render layer and returns a scope that restores the previous layer on dispose. |