QuickFont.QFontKerningConfiguration.BatchSetCharacterKerningRule C# (CSharp) Method

BatchSetCharacterKerningRule() public method

Sets all characters in the given string to the specified kerning rule.
public BatchSetCharacterKerningRule ( String chars, CharacterKerningRule rule ) : void
chars String
rule CharacterKerningRule
return void
        public void BatchSetCharacterKerningRule(String chars, CharacterKerningRule rule)
        {
            foreach (var c in chars)
            {
                CharacterKerningRules[c] = rule;
            }
        }