Table of Contents

TTMSFNCGraphics.RestoreState Method

Restores a graphics state previously captured by SaveState.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphics

Syntax

procedure RestoreState(AState: TTMSFNCGraphicsSaveState; ACanvasOnly: Boolean = False); virtual;

Parameters

Name Description
AState State token returned by a prior SaveState call.
ACanvasOnly When True, restores only the canvas transform and clip, leaving fill, stroke, and font unchanged. Default is False.