Skip to content

TextStudioShapedGlyphFeatureSet

StructTextStudioTextStudio
public readonly struct TextStudioShapedGlyphFeatureSet

Describes which shaped-glyph features are present and which represent the backend’s final rendered state rather than a compatible derivation.

TextStudioShapedGlyphFeatureSet(TextStudioShapedGlyphFeature, TextStudioShapedGlyphFeature)

Section titled “TextStudioShapedGlyphFeatureSet(TextStudioShapedGlyphFeature, TextStudioShapedGlyphFeature)”
public TextStudioShapedGlyphFeatureSet(TextStudioShapedGlyphFeature available, TextStudioShapedGlyphFeature exact)

Creates a shaped-glyph capability set, restricting exact features to those that are available.

Parameters

Name Type
available TextStudio.TextStudioShapedGlyphFeature
exact TextStudio.TextStudioShapedGlyphFeature

public bool Supports(TextStudioShapedGlyphFeature feature)

Reports whether all requested shaped-glyph features are available.

Parameters

Name Type
feature TextStudio.TextStudioShapedGlyphFeature

Returns

System.Boolean

public bool IsExact(TextStudioShapedGlyphFeature feature)

Reports whether all requested shaped-glyph features are provided with exact fidelity.

Parameters

Name Type
feature TextStudio.TextStudioShapedGlyphFeature

Returns

System.Boolean

public TextStudioShapedGlyphFeature Available { get; }

Returns

TextStudio.TextStudioShapedGlyphFeature

public TextStudioShapedGlyphFeature Exact { get; }

Returns

TextStudio.TextStudioShapedGlyphFeature