public static class PosTableLookup7Format2.PosRuleFormat2 extends ContextualPositionRule
| Constructor and Description |
|---|
PosRuleFormat2(PosTableLookup7Format2 subTable,
int[] inputClassIds,
PosLookupRecord[] posLookupRecords) |
| Modifier and Type | Method and Description |
|---|---|
int |
getContextLength()
Gets the length of the context glyph sequence defined by this rule
|
PosLookupRecord[] |
getPosLookupRecords()
Retrieves the position lookup records.
|
boolean |
isGlyphMatchesInput(int glyphId,
int atIdx)
Checks if glyph line element matches element from input sequence of the rule.
|
getBacktrackContextLength, getLookaheadContextLength, isGlyphMatchesBacktrack, isGlyphMatchesLookaheadpublic PosRuleFormat2(PosTableLookup7Format2 subTable, int[] inputClassIds, PosLookupRecord[] posLookupRecords)
public int getContextLength()
ContextualRulegetContextLength in class ContextualRulepublic PosLookupRecord[] getPosLookupRecords()
ContextualPositionRulegetPosLookupRecords in class ContextualPositionRulePosLookupRecord.public boolean isGlyphMatchesInput(int glyphId,
int atIdx)
ContextualRuleisGlyphMatchesInput in class ContextualRuleglyphId - glyph code idatIdx - index in the rule sequence. Shall be: 0 < atIdx < ContextualRule.getContextLength()true if glyph matches elementCopyright © 1998–2023 Apryse Group NV. All rights reserved.