TextRenderingMode

Inheritance: java.lang.Object, java.lang.Enum < TextRenderingMode > com.aspose.pdf.TextRenderingMode, java.lang.Enum < TextRenderingMode >, com.aspose.pdf.TextRenderingMode

All Implemented Interfaces: Serializable, Comparable < TextRenderingMode >

public enum TextRenderingMode extends Enum < TextRenderingMode >

The text rendering mode, Tmode, determines whether showing text shall cause glyph outlines to be stroked, filled, used as a clipping boundary, or some combination of the three.

Fields

FieldDescription
AddPathToClippingAdd text to path for clipping.
FillTextFill text.
FillTextAndAddPathToClippingFill text and add to path for clipping (see 9.3.6, “Text Rendering Mode,”).
FillThenStrokeTextFill, then stroke text.
FillThenStrokeTextAndAddPathToClippingFill, then stroke text and add to path for clipping.
InvisibleNeither fill nor stroke text (invisible).
StrokeTextStroke text.
StrokeTextAndAddPathToClippingStroke text and add to path for clipping.

Methods

MethodDescription
getValue
valueOf
valueOfReturns the enum constant of this type with the specified name.
valuesReturns an array containing the constants of this enum type, in the order they are declared.

AddPathToClipping

public static final TextRenderingMode AddPathToClipping

Add text to path for clipping.

FillText

public static final TextRenderingMode FillText

Fill text.

FillTextAndAddPathToClipping

public static final TextRenderingMode FillTextAndAddPathToClipping

Fill text and add to path for clipping (see 9.3.6, “Text Rendering Mode,”).

FillThenStrokeText

public static final TextRenderingMode FillThenStrokeText

Fill, then stroke text.

FillThenStrokeTextAndAddPathToClipping

public static final TextRenderingMode FillThenStrokeTextAndAddPathToClipping

Fill, then stroke text and add to path for clipping.

Invisible

public static final TextRenderingMode Invisible

Neither fill nor stroke text (invisible).

StrokeText

public static final TextRenderingMode StrokeText

Stroke text.

StrokeTextAndAddPathToClipping

public static final TextRenderingMode StrokeTextAndAddPathToClipping

Stroke text and add to path for clipping.

getValue

public int getValue()

valueOf

public static TextRenderingMode valueOf(int value)

Parameters:

ParameterTypeDescription
value

valueOf

Returns the enum constant of this type with the specified name.

values

public static TextRenderingMode [] values()

Returns an array containing the constants of this enum type, in the order they are declared.

Returns: an array containing the constants of this enum type, in the order they are declared