writeRestoreLayer method
Pops the current save stack, if there is anything to pop. Otherwise, does nothing.
See also:
Canvas.restore
Implementation
void writeRestoreLayer(VectorGraphicsBuffer buffer) {
buffer._checkPhase(_CurrentSection.commands);
buffer._addCommandsTag();
buffer._putUint8(_restoreTag);
}