Skip to content

TextStudioTextChangeHandoffRequest

StructTextStudioTextStudio
public readonly struct TextStudioTextChangeHandoffRequest

Immutable request passed to renderers before the base text plan is replaced. Renderers must copy any state that must survive beyond the callback.

TextStudioTextChangeHandoffRequest(ulong, string, string, TextStudioMotionPolicy, TextStudioGlyphChangeSet)

Section titled “TextStudioTextChangeHandoffRequest(ulong, string, string, TextStudioMotionPolicy, TextStudioGlyphChangeSet)”
public TextStudioTextChangeHandoffRequest(ulong changeId, string currentMarkup, string nextMarkup, TextStudioMotionPolicy motionPolicy, TextStudioGlyphChangeSet glyphChanges)

Creates an immutable handoff request for the specified text replacement.

Parameters

Name Type
changeId System.UInt64
currentMarkup System.String
nextMarkup System.String
motionPolicy TextStudio.TextStudioMotionPolicy
glyphChanges TextStudio.TextStudioGlyphChangeSet

public ulong ChangeId { get; }

Returns

System.UInt64

public string CurrentMarkup { get; }

Returns

System.String

public string NextMarkup { get; }

Returns

System.String

public TextStudioMotionPolicy MotionPolicy { get; }

Returns

TextStudio.TextStudioMotionPolicy

public TextStudioGlyphChangeSet GlyphChanges { get; }

Returns

TextStudio.TextStudioGlyphChangeSet