Added in API level 24

Range

class Range
kotlin.Any
   ↳ kotlin.Enum<java.awt.font.NumericShaper.Range>
   ↳ java.awt.font.NumericShaper.Range

A NumericShaper.Range represents a Unicode range of a script having its own decimal digits. For example, the java.awt.font.NumericShaper.Range#THAI range has the Thai digits, THAI DIGIT ZERO (U+0E50) to THAI DIGIT NINE (U+0E59).

The Range enum replaces the traditional bit mask-based values (e.g., NumericShaper#ARABIC), and supports more Unicode ranges than the bit mask-based ones. For example, the following code using the bit mask:

NumericShaper.getContextualShaper(NumericShaper.ARABIC |
                                      NumericShaper.TAMIL,
                                    NumericShaper.EUROPEAN);
  
can be written using this enum as:
NumericShaper.getContextualShaper(EnumSet.of(
                                      NumericShaper.Range.ARABIC,
                                      NumericShaper.Range.TAMIL),
                                    NumericShaper.Range.EUROPEAN);
  

Summary

Enum values

The Arabic range with the Arabic-Indic digits.

The Balinese range with the Balinese digits.

The Bengali range with the Bengali digits.

The Cham range with the Cham digits.

The Devanagari range with the Devanagari digits.

The Arabic range with the Eastern Arabic-Indic digits.

The Ethiopic range with the Ethiopic digits.

The Latin (European) range with the Latin (ASCII) digits.

The Gujarati range with the Gujarati digits.

The Gurmukhi range with the Gurmukhi digits.

The Javanese range with the Javanese digits.

The Kannada range with the Kannada digits.

The Kayah Li range with the Kayah Li digits.

The Khmer range with the Khmer digits.

The Lao range with the Lao digits.

The Lepcha range with the Lepcha digits.

The Limbu range with the Limbu digits.

The Malayalam range with the Malayalam digits.

The Meetei Mayek range with the Meetei Mayek digits.

The Mongolian range with the Mongolian digits.

The Myanmar range with the Myanmar digits.

The Myanmar range with the Myanmar Shan digits.

The New Tai Lue range with the New Tai Lue digits.

The N'Ko range with the N'Ko digits.

The Ol Chiki range with the Ol Chiki digits.

The Oriya range with the Oriya digits.

The Saurashtra range with the Saurashtra digits.

The Sundanese range with the Sundanese digits.

The Tai Tham Hora range with the Tai Tham Hora digits.

The Tai Tham Tham range with the Tai Tham Tham digits.

The Tamil range with the Tamil digits.

The Telugu range with the Telugu digits.

The Thai range with the Thai digits.

The Tibetan range with the Tibetan digits.

The Vai range with the Vai digits.

Enum values

ARABIC

Added in API level 24
enum val ARABIC : NumericShaper.Range

The Arabic range with the Arabic-Indic digits.

BALINESE

Added in API level 24
enum val BALINESE : NumericShaper.Range

The Balinese range with the Balinese digits.

BENGALI

Added in API level 24
enum val BENGALI : NumericShaper.Range

The Bengali range with the Bengali digits.

CHAM

Added in API level 24
enum val CHAM : NumericShaper.Range

The Cham range with the Cham digits.

DEVANAGARI

Added in API level 24
enum val DEVANAGARI : NumericShaper.Range

The Devanagari range with the Devanagari digits.

EASTERN_ARABIC

Added in API level 24
enum val EASTERN_ARABIC : NumericShaper.Range

The Arabic range with the Eastern Arabic-Indic digits.

ETHIOPIC

Added in API level 24
enum val ETHIOPIC : NumericShaper.Range

The Ethiopic range with the Ethiopic digits. Ethiopic does not have a decimal digit 0 so Latin (European) 0 is used.

EUROPEAN

Added in API level 24
enum val EUROPEAN : NumericShaper.Range

The Latin (European) range with the Latin (ASCII) digits.

GUJARATI

Added in API level 24
enum val GUJARATI : NumericShaper.Range

The Gujarati range with the Gujarati digits.

GURMUKHI

Added in API level 24
enum val GURMUKHI : NumericShaper.Range

The Gurmukhi range with the Gurmukhi digits.

JAVANESE

Added in API level 24
enum val JAVANESE : NumericShaper.Range

The Javanese range with the Javanese digits.

KANNADA

Added in API level 24
enum val KANNADA : NumericShaper.Range

The Kannada range with the Kannada digits.

KAYAH_LI

Added in API level 24
enum val KAYAH_LI : NumericShaper.Range

The Kayah Li range with the Kayah Li digits.

KHMER

Added in API level 24
enum val KHMER : NumericShaper.Range

The Khmer range with the Khmer digits.

LAO

Added in API level 24
enum val LAO : NumericShaper.Range

The Lao range with the Lao digits.

LEPCHA

Added in API level 24
enum val LEPCHA : NumericShaper.Range

The Lepcha range with the Lepcha digits.

LIMBU

Added in API level 24
enum val LIMBU : NumericShaper.Range

The Limbu range with the Limbu digits.

MALAYALAM

Added in API level 24
enum val MALAYALAM : NumericShaper.Range

The Malayalam range with the Malayalam digits.

MEETEI_MAYEK

Added in API level 24
enum val MEETEI_MAYEK : NumericShaper.Range

The Meetei Mayek range with the Meetei Mayek digits.

MONGOLIAN

Added in API level 24
enum val MONGOLIAN : NumericShaper.Range

The Mongolian range with the Mongolian digits.

MYANMAR

Added in API level 24
enum val MYANMAR : NumericShaper.Range

The Myanmar range with the Myanmar digits.

MYANMAR_SHAN

Added in API level 24
enum val MYANMAR_SHAN : NumericShaper.Range

The Myanmar range with the Myanmar Shan digits.

NEW_TAI_LUE

Added in API level 24
enum val NEW_TAI_LUE : NumericShaper.Range

The New Tai Lue range with the New Tai Lue digits.

NKO

Added in API level 24
enum val NKO : NumericShaper.Range

The N'Ko range with the N'Ko digits.

OL_CHIKI

Added in API level 24
enum val OL_CHIKI : NumericShaper.Range

The Ol Chiki range with the Ol Chiki digits.

ORIYA

Added in API level 24
enum val ORIYA : NumericShaper.Range

The Oriya range with the Oriya digits.

SAURASHTRA

Added in API level 24
enum val SAURASHTRA : NumericShaper.Range

The Saurashtra range with the Saurashtra digits.

SUNDANESE

Added in API level 24
enum val SUNDANESE : NumericShaper.Range

The Sundanese range with the Sundanese digits.

TAI_THAM_HORA

Added in API level 24
enum val TAI_THAM_HORA : NumericShaper.Range

The Tai Tham Hora range with the Tai Tham Hora digits.

TAI_THAM_THAM

Added in API level 24
enum val TAI_THAM_THAM : NumericShaper.Range

The Tai Tham Tham range with the Tai Tham Tham digits.

TAMIL

Added in API level 24
enum val TAMIL : NumericShaper.Range

The Tamil range with the Tamil digits.

TELUGU

Added in API level 24
enum val TELUGU : NumericShaper.Range

The Telugu range with the Telugu digits.

THAI

Added in API level 24
enum val THAI : NumericShaper.Range

The Thai range with the Thai digits.

TIBETAN

Added in API level 24
enum val TIBETAN : NumericShaper.Range

The Tibetan range with the Tibetan digits.

VAI

Added in API level 24
enum val VAI : NumericShaper.Range

The Vai range with the Vai digits.