Table of Contents

Method CheckTransformStackDepth

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

CheckTransformStackDepth(Action)

Ensures that the transform stack depth remains balanced before and after the specified action is executed.

public void CheckTransformStackDepth(Action action)

Parameters

action Action

The action to execute. This action is expected to maintain the balance of the transform stack.

Exceptions

InvalidOperationException

Thrown if the transform stack depth is unbalanced after the action is executed.