QuickFont.QFontKerningConfiguration.BatchSetCharacterKerningRule C# (CSharp) Méthode

BatchSetCharacterKerningRule() public méthode

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