Table of Contents

TTMSFNCGraphicsSVG.SaveState Method

Saves the current graphics state and returns a snapshot that can be passed to RestoreState.

API unit family: TMSFNCGraphicsSVGEngine Declaring type: TTMSFNCGraphicsSVG Inherited from: TTMSFNCGraphicsSVGEngine

Syntax

function SaveState(ACanvasOnly: Boolean = False): TTMSFNCGraphicsSaveState; override;

Parameters

Name Description
ACanvasOnly When True, only the canvas-level state is saved.

Returns

A snapshot of the current graphics state.