Table of Contents

Method DoInsideClipped

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

DoInsideClipped(RectD, Action, bool)

Calls the specified action inside temprorary clipped rectangle, so painting outside this rectangle is ignored.

public virtual void DoInsideClipped(RectD rect, Action action, bool isClipped = true)

Parameters

rect RectD

Rectangle region to set as clip object.

action Action

Action to call.

isClipped bool

Whether to clip rectangle. Optional. Default is true.