ITextStudioRevealState
public interface ITextStudioRevealStateRead-only reveal information exposed to character-substitution extensions.
Methods
Section titled “Methods”
IsGlyphRevealed(int)
Section titled “IsGlyphRevealed(int)”bool IsGlyphRevealed(int glyphIndex)Reports whether a visible glyph has crossed its reveal boundary.
Parameters
| Name | Type | Description |
|---|---|---|
glyphIndex |
System.Int32 | Zero-based visible-glyph index. |
Returns
System.Boolean: false for an invalid index.
GetApproximateRevealTime(int)
Section titled “GetApproximateRevealTime(int)”float GetApproximateRevealTime(int glyphIndex)Estimates when a visible glyph becomes revealed under current timing.
Parameters
| Name | Type | Description |
|---|---|---|
glyphIndex |
System.Int32 | Zero-based visible-glyph index. |
Returns
System.Single: Approximate seconds from reveal start, or 0 for an invalid index.