public static SciterGraphics RestoreState(this SciterGraphics graphics) { graphics?.RestoreStateInternal(); return(graphics); }