Skip to content

TextStudioAppearanceExposure

StructTextStudioTextStudio
public struct TextStudioAppearanceExposure

A typed leaf binding. Reordering layers or changing their labels does not change the target.

TextStudioAppearanceExposure(string, TextStudioStackItemId, TextStudioAppearanceProperty, TextStudioStackItemId)

Section titled “TextStudioAppearanceExposure(string, TextStudioStackItemId, TextStudioAppearanceProperty, TextStudioStackItemId)”
public TextStudioAppearanceExposure(string name, TextStudioStackItemId layerId, TextStudioAppearanceProperty property, TextStudioStackItemId treatmentId = default)

Creates a named parameter binding to a persistent layer identity, typed property, and optional decoration-treatment identity.

Parameters

NameType
nameSystem.String
layerIdTextStudio.TextStudioStackItemId
propertyTextStudio.TextStudioAppearanceProperty
treatmentIdTextStudio.TextStudioStackItemId

public static bool IsValidName(string name)

Checks whether a parameter name is a valid appearance identifier that avoids reserved invocation parameters.

Parameters

NameType
nameSystem.String

Returns

System.Boolean

public static bool IsReserved(string name)

Checks case-insensitively whether a name is ref, mode, tint, or opacity.

Parameters

NameType
nameSystem.String

Returns

System.Boolean

public string Name { get; }

Returns

System.String

public TextStudioStackItemId LayerId { get; }

Returns

TextStudio.TextStudioStackItemId

public TextStudioStackItemId TreatmentId { get; }

Returns

TextStudio.TextStudioStackItemId

public TextStudioAppearanceProperty Property { get; }

Returns

TextStudio.TextStudioAppearanceProperty