ScriptShapingLevel
Contents
[
Hide
]Inheritance: java.lang.Object
public class ScriptShapingLevel
Describes shaping levels required by a script.
Fields
Field | Description |
---|---|
FULL | Script requires full shaping support. |
MINIMUM | Script requires minimum shaping support. |
NONE | Script does not require shaping. |
UNKNOWN | This is used when the level for the script is not specified. |
length |
Methods
Method | Description |
---|---|
fromName(String scriptShapingLevelName) | |
getName(int scriptShapingLevel) | |
getValues() | |
toString(int scriptShapingLevel) |
FULL
public static int FULL
Script requires full shaping support.
MINIMUM
public static int MINIMUM
Script requires minimum shaping support.
Remarks:
It is not clear, what Minimum means. Minimum is set for some very popular scripts (Latin, Cyrillic…).
NONE
public static int NONE
Script does not require shaping.
UNKNOWN
public static int UNKNOWN
This is used when the level for the script is not specified.
Remarks:
It should not happen.
length
public static int length
fromName(String scriptShapingLevelName)
public static int fromName(String scriptShapingLevelName)
Parameters:
Parameter | Type | Description |
---|---|---|
scriptShapingLevelName | java.lang.String |
Returns: int
getName(int scriptShapingLevel)
public static String getName(int scriptShapingLevel)
Parameters:
Parameter | Type | Description |
---|---|---|
scriptShapingLevel | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int scriptShapingLevel)
public static String toString(int scriptShapingLevel)
Parameters:
Parameter | Type | Description |
---|---|---|
scriptShapingLevel | int |
Returns: java.lang.String