public class TypographyConfigurator extends Object
| Constructor and Description |
|---|
TypographyConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
TypographyConfigurator |
addFeatureConfig(IFeaturesConfig featureConfig)
Adds IFeaturesConfig instance into consideration for text processing.
|
Set<Character.UnicodeScript> |
getConfiguredScripts()
Gets scripts that are affected by this instance of TypographyConfigurator.
|
IFeaturesConfig |
getFeatureConfig(Character.UnicodeScript script)
Finds IFeaturesConfig that was already set for the given script.
|
public TypographyConfigurator addFeatureConfig(IFeaturesConfig featureConfig)
IFeaturesConfig instance into consideration for text processing.
If two added IFeaturesConfig are associated with the same script, only the one that was added latest is applied for this script. When several scripts are associated with the single IFeaturesConfig, it should rather mean that those scripts are processed in exactly the same manner, rather than they have some mutual features.
featureConfig - a configuration to be applied.
TypographyConfigurator instance.
public IFeaturesConfig getFeatureConfig(Character.UnicodeScript script)
IFeaturesConfig that was already set for the given script.
script - an Character.UnicodeScript for which corresponding configuration is searched.
IFeaturesConfig for the given Character.UnicodeScript, or null if no configuration was set.
public Set<Character.UnicodeScript> getConfiguredScripts()
TypographyConfigurator.
Set of scripts which processing is defined by some IFeaturesConfig.
Copyright © 1998–2023 Apryse Group NV. All rights reserved.