Skip to content

TextStudioInfluenceFieldStack

ClassTextStudioTextStudio
public sealed class TextStudioInfluenceFieldStack

Ordered spatial influence fields combined into one allocation-free per-glyph weight.

public TextStudioInfluenceField Add(TextStudioInfluenceFieldShape shape)

Appends a field with the requested shape and returns it for further configuration.

Parameters

Name Type
shape TextStudio.TextStudioInfluenceFieldShape

Returns

TextStudio.TextStudioInfluenceField

public void Clear()

Removes every influence field from the stack.

public TextStudioInfluenceFieldStack()

public IReadOnlyList<TextStudioInfluenceField> Fields { get; }

Returns

System.Collections.Generic.IReadOnlyList{TextStudio.TextStudioInfluenceField}

public int Count { get; }

Returns

System.Int32