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);
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
enum val ARABIC : NumericShaper.Range
The Arabic range with the Arabic-Indic digits.
BALINESE
enum val BALINESE : NumericShaper.Range
The Balinese range with the Balinese digits.
BENGALI
enum val BENGALI : NumericShaper.Range
The Bengali range with the Bengali digits.
DEVANAGARI
enum val DEVANAGARI : NumericShaper.Range
The Devanagari range with the Devanagari digits.
EASTERN_ARABIC
enum val EASTERN_ARABIC : NumericShaper.Range
The Arabic range with the Eastern Arabic-Indic digits.
ETHIOPIC
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
enum val EUROPEAN : NumericShaper.Range
The Latin (European) range with the Latin (ASCII) digits.
GUJARATI
enum val GUJARATI : NumericShaper.Range
The Gujarati range with the Gujarati digits.
GURMUKHI
enum val GURMUKHI : NumericShaper.Range
The Gurmukhi range with the Gurmukhi digits.
JAVANESE
enum val JAVANESE : NumericShaper.Range
The Javanese range with the Javanese digits.
KANNADA
enum val KANNADA : NumericShaper.Range
The Kannada range with the Kannada digits.
KAYAH_LI
enum val KAYAH_LI : NumericShaper.Range
The Kayah Li range with the Kayah Li digits.
KHMER
enum val KHMER : NumericShaper.Range
The Khmer range with the Khmer digits.
LEPCHA
enum val LEPCHA : NumericShaper.Range
The Lepcha range with the Lepcha digits.
LIMBU
enum val LIMBU : NumericShaper.Range
The Limbu range with the Limbu digits.
MALAYALAM
enum val MALAYALAM : NumericShaper.Range
The Malayalam range with the Malayalam digits.
MEETEI_MAYEK
enum val MEETEI_MAYEK : NumericShaper.Range
The Meetei Mayek range with the Meetei Mayek digits.
MONGOLIAN
enum val MONGOLIAN : NumericShaper.Range
The Mongolian range with the Mongolian digits.
MYANMAR
enum val MYANMAR : NumericShaper.Range
The Myanmar range with the Myanmar digits.
MYANMAR_SHAN
enum val MYANMAR_SHAN : NumericShaper.Range
The Myanmar range with the Myanmar Shan digits.
NEW_TAI_LUE
enum val NEW_TAI_LUE : NumericShaper.Range
The New Tai Lue range with the New Tai Lue digits.
OL_CHIKI
enum val OL_CHIKI : NumericShaper.Range
The Ol Chiki range with the Ol Chiki digits.
ORIYA
enum val ORIYA : NumericShaper.Range
The Oriya range with the Oriya digits.
SAURASHTRA
enum val SAURASHTRA : NumericShaper.Range
The Saurashtra range with the Saurashtra digits.
SUNDANESE
enum val SUNDANESE : NumericShaper.Range
The Sundanese range with the Sundanese digits.
TAI_THAM_HORA
enum val TAI_THAM_HORA : NumericShaper.Range
The Tai Tham Hora range with the Tai Tham Hora digits.
TAI_THAM_THAM
enum val TAI_THAM_THAM : NumericShaper.Range
The Tai Tham Tham range with the Tai Tham Tham digits.
TAMIL
enum val TAMIL : NumericShaper.Range
The Tamil range with the Tamil digits.
TELUGU
enum val TELUGU : NumericShaper.Range
The Telugu range with the Telugu digits.
TIBETAN
enum val TIBETAN : NumericShaper.Range
The Tibetan range with the Tibetan digits.