RangeGaspBehaviorFlags

Inheritance: java.lang.Object, java.lang.Enum

public enum RangeGaspBehaviorFlags extends Enum<RangeGaspBehaviorFlags>

Flags describing desired rasterizer behavior.

Fields

FieldDescription
neitherOptional for very large sizes, typically ppem > 2048 (0x0000).
GASP_GRIDFITUse gridfitting (0x0001).
GASP_DOGRAYUse grayscale rendering (0x0002).
GASP_SYMMETRIC_GRIDFITUse gridfitting with ClearType symmetric smoothing (0x0004).
GASP_SYMMETRIC_SMOOTHINGUse smoothing along multiple axes with ClearType (0x0008).
ReservedReserved flags - set to 0 (0xfff0).

Methods

MethodDescription
values()
valueOf(String name)
toInteger(EnumSet flags)Returns the integer value corresponding to a set of flags.
getFlags(int value)Returns a set of flags corresponding to an integer value.

neither

public static final RangeGaspBehaviorFlags neither

Optional for very large sizes, typically ppem > 2048 (0x0000).

GASP_GRIDFIT

public static final RangeGaspBehaviorFlags GASP_GRIDFIT

Use gridfitting (0x0001).

GASP_DOGRAY

public static final RangeGaspBehaviorFlags GASP_DOGRAY

Use grayscale rendering (0x0002).

GASP_SYMMETRIC_GRIDFIT

public static final RangeGaspBehaviorFlags GASP_SYMMETRIC_GRIDFIT

Use gridfitting with ClearType symmetric smoothing (0x0004). Only supported in version 1 ‘gasp’.

GASP_SYMMETRIC_SMOOTHING

public static final RangeGaspBehaviorFlags GASP_SYMMETRIC_SMOOTHING

Use smoothing along multiple axes with ClearType (0x0008). Only supported in version 1 ‘gasp’.

Reserved

public static final RangeGaspBehaviorFlags Reserved

Reserved flags - set to 0 (0xfff0).

values()

public static RangeGaspBehaviorFlags[] values()

Returns: com.aspose.font.RangeGaspBehaviorFlags[]

valueOf(String name)

public static RangeGaspBehaviorFlags valueOf(String name)

Parameters:

ParameterTypeDescription
namejava.lang.String

Returns: RangeGaspBehaviorFlags

toInteger(EnumSet flags)

public static int toInteger(EnumSet<RangeGaspBehaviorFlags> flags)

Returns the integer value corresponding to a set of flags.

Parameters:

ParameterTypeDescription
flagsjava.util.EnumSet<com.aspose.font.RangeGaspBehaviorFlags>A set of flags.

Returns: int - The integer value corresponding to a set of flags.

getFlags(int value)

public static EnumSet<RangeGaspBehaviorFlags> getFlags(int value)

Returns a set of flags corresponding to an integer value.

Parameters:

ParameterTypeDescription
valueintThe integer value.

Returns: java.util.EnumSet<com.aspose.font.RangeGaspBehaviorFlags> - The set of flags corresponding to the integer value.