public enum RangeGaspBehaviorFlags extends Enum<RangeGaspBehaviorFlags>
Flags describing desired rasterizer behavior.
| Enum Constant and Description |
|---|
GASP_DOGRAY
Use grayscale rendering (0x0002).
|
GASP_GRIDFIT
Use gridfitting (0x0001).
|
GASP_SYMMETRIC_GRIDFIT
Use gridfitting with ClearType symmetric smoothing (0x0004).
|
GASP_SYMMETRIC_SMOOTHING
Use smoothing along multiple axes with ClearType® (0x0008).
|
neither
Optional for very large sizes, typically ppem > 2048 (0x0000).
|
Reserved
Reserved flags - set to 0 (0xfff0).
|
| Modifier and Type | Method and Description |
|---|---|
static com.aspose.font.util.AsFoEnumSet<RangeGaspBehaviorFlags> |
getFlags(int value)
Returns a set of flags corresponding to an integer value.
|
static int |
toInteger(com.aspose.font.util.AsFoEnumSet<RangeGaspBehaviorFlags> flags)
Returns the integer value corresponding to a set of flags.
|
static RangeGaspBehaviorFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RangeGaspBehaviorFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RangeGaspBehaviorFlags neither
Optional for very large sizes, typically ppem > 2048 (0x0000).
public static final RangeGaspBehaviorFlags GASP_GRIDFIT
Use gridfitting (0x0001).
public static final RangeGaspBehaviorFlags GASP_DOGRAY
Use grayscale rendering (0x0002).
public static final RangeGaspBehaviorFlags GASP_SYMMETRIC_GRIDFIT
Use gridfitting with ClearType symmetric smoothing (0x0004). Only supported in version 1 'gasp'.
public static final RangeGaspBehaviorFlags GASP_SYMMETRIC_SMOOTHING
Use smoothing along multiple axes with ClearType® (0x0008). Only supported in version 1 'gasp'.
public static final RangeGaspBehaviorFlags Reserved
Reserved flags - set to 0 (0xfff0).
public static RangeGaspBehaviorFlags[] values()
for (RangeGaspBehaviorFlags c : RangeGaspBehaviorFlags.values()) System.out.println(c);
public static RangeGaspBehaviorFlags valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static int toInteger(com.aspose.font.util.AsFoEnumSet<RangeGaspBehaviorFlags> flags)
Returns the integer value corresponding to a set of flags.
flags - A set of flags.public static com.aspose.font.util.AsFoEnumSet<RangeGaspBehaviorFlags> getFlags(int value) throws IllegalArgumentException
Returns a set of flags corresponding to an integer value.
value - The integer value.IllegalArgumentException - If no set of flags corresponding to the specified integer value can be collected.Copyright © 2025 Aspose. All Rights Reserved.