Skip to content

TextStudio2DMaskSpec

StructTextStudioTextStudio
public struct TextStudio2DMaskSpec

Settings that select a source stack item as a mask with optional inversion and edge feathering.

TextStudio2DMaskSpec(TextStudioStackItemId, bool, float)

Section titled “TextStudio2DMaskSpec(TextStudioStackItemId, bool, float)”
public TextStudio2DMaskSpec(TextStudioStackItemId sourceItemId, bool invert = false, float feather = 0)

Creates a mask specification referencing the supplied source item with optional inversion and feathering.

Parameters

Name Type
sourceItemId TextStudio.TextStudioStackItemId
invert System.Boolean
feather System.Single

public TextStudioStackItemId SourceItemId { get; }

Returns

TextStudio.TextStudioStackItemId

public bool Invert { get; }

Returns

System.Boolean

public float Feather { get; }

Returns

System.Single