com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Class NameToCodeMap



  • public class NameToCodeMap
    extends Object

    Represents name to code map.

    • Method Detail

      • get

        public int get(String name)

        Gets code by name.

        Parameters:
        name - Glyph name.
        Returns:
        Glyph code.
      • size

        public int size()

        Gets count of pairs name-code in the map.

        Returns:
        Count of pairs name-code in the map.
      • getKeys

        public Collection<String> getKeys()

        Returns string names collection.

        Returns:
        String names collection.
      • containsKey

        public boolean containsKey(String name)

        Returns true in case the key is already in the map.

        Parameters:
        name - Glyph name.
        Returns:
        True or false.