public class StyleSimulations extends Object
The style simulations. Synthetic style simulations can be applied to the shape of the glyphs by using the StyleSimulations attribute. Style simulations can be applied in addition to the designed style of a font. The default value for the StyleSimulations attribute is None, in which case the shapes of glyphs are not modified from their original design.
| Modifier and Type | Field and Description |
|---|---|
static String |
BOLD_ITALIC_SIMULATION
The bold italic simulation.
|
static String |
BOLD_SIMULATION
The bold simulation.
|
static String |
ITALIC_SIMULATION
The italic simulation.
|
static String |
NONE
The none.
|
| Constructor and Description |
|---|
StyleSimulations() |
public static final String NONE
The none. The shapes of glyphs are not modified from their original design.
public static final String ITALIC_SIMULATION
The italic simulation. Synthetic italicizing is applied to glyphs with an IsSideways value of false by skewing the top edge of the alignment box of the character by 20° to the right, relative to the baseline of the character.
public static final String BOLD_SIMULATION
The bold simulation. Synthetic emboldening is applied by geometrically widening the strokes of glyphs by 1% of the EM size for each of the two boundaries of the stroke, so that the centers of strokes remain at the same position relative to the character coordinate system.
public static final String BOLD_ITALIC_SIMULATION
The bold italic simulation. Both BoldSimulation and ItalicSimulation are applied.
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.