Skip to main content
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

FMX.TMSFNCGraphicsSVGEngine.hppPascalC++
function SaveState(ACanvasOnly: Boolean = False): TTMSFNCGraphicsSaveState; override;
virtual TTMSFNCGraphicsSaveState* __fastcall SaveState(bool ACanvasOnly = false);

Parameters

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

Returns

A snapshot of the current graphics state.