ScriptShapingLevel

Inheritance: java.lang.Object

public class ScriptShapingLevel

Describes shaping levels required by a script.

Fields

FieldDescription
FULLScript requires full shaping support.
MINIMUMScript requires minimum shaping support.
NONEScript does not require shaping.
UNKNOWNThis is used when the level for the script is not specified.
length

Methods

MethodDescription
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:

ParameterTypeDescription
scriptShapingLevelNamejava.lang.String

Returns: int

getName(int scriptShapingLevel)

public static String getName(int scriptShapingLevel)

Parameters:

ParameterTypeDescription
scriptShapingLevelint

Returns: java.lang.String

getValues()

public static int[] getValues()

Returns: int[]

toString(int scriptShapingLevel)

public static String toString(int scriptShapingLevel)

Parameters:

ParameterTypeDescription
scriptShapingLevelint

Returns: java.lang.String