TextStudio2DMaskSpec
public struct TextStudio2DMaskSpecSettings that select a source stack item as a mask with optional inversion and edge feathering.
Constructors
Section titled “Constructors”
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 |
Properties
Section titled “Properties”
SourceItemId
Section titled “SourceItemId”public TextStudioStackItemId SourceItemId { get; }Returns
TextStudio.TextStudioStackItemId
Invert
Section titled “Invert”public bool Invert { get; }Returns
System.Boolean
Feather
Section titled “Feather”public float Feather { get; }Returns
System.Single