Interface IStateContext
Provides methods to save and restore the current drawing state,
including styles, transforms, and clipping paths.
Mirrors the behavior of the HTML5 Canvas save()
and restore()
methods.
public interface IStateContext
Methods
Restore()
Pops the top state off the state stack and restores it. Any modifications made since the last Save() are discarded.
void Restore()
Save()
Pushes the current drawing state onto the state stack. This includes styles, transformations, clipping paths, etc.
void Save()