Top Description Fields Constructors Methods
org.apache.pdfbox.pdmodel.graphics.state

public final Enum RenderingMode

extends Enum<RenderingMode>
Class Inheritance

Text Rendering Mode.
Author
John Hewson

Field Summary

Modifier and TypeField and Description
public static final RenderingMode
FILL

Fill text.

public static final RenderingMode
FILL_CLIP

Fill text and add to path for clipping.

public static final RenderingMode
FILL_STROKE

Fill, then stroke text.

public static final RenderingMode
FILL_STROKE_CLIP

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

public static final RenderingMode
NEITHER

Neither fill nor stroke text (invisible)

public static final RenderingMode
NEITHER_CLIP

Add text to path for clipping.

public static final RenderingMode
STROKE

Stroke text.

public static final RenderingMode
STROKE_CLIP

Stroke text and add to path for clipping.

private final int
private static final RenderingMode[]

Constructor Summary

AccessConstructor and Description
private
RenderingMode(int value)

Method Summary

Modifier and TypeMethod and Description
public static RenderingMode
fromInt(int value)

public int

Returns:

the integer value of this mode
intValue
()

Returns the integer value of this mode, as used in a PDF file.

public boolean

Returns:

true if this mode clips text
isClip
()

Returns true if this mode clips text.

public boolean

Returns:

true if this mode fills text
isFill
()

Returns true if this mode fills text.

public boolean

Returns:

true if this mode strokes text
isStroke
()

Returns true if this mode strokes text.

public static RenderingMode
public static RenderingMode[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

FILLback to summary
public static final RenderingMode FILL

Fill text.

FILL_CLIPback to summary
public static final RenderingMode FILL_CLIP

Fill text and add to path for clipping.

FILL_STROKEback to summary
public static final RenderingMode FILL_STROKE

Fill, then stroke text.

FILL_STROKE_CLIPback to summary
public static final RenderingMode FILL_STROKE_CLIP

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

NEITHERback to summary
public static final RenderingMode NEITHER

Neither fill nor stroke text (invisible)

NEITHER_CLIPback to summary
public static final RenderingMode NEITHER_CLIP

Add text to path for clipping.

STROKEback to summary
public static final RenderingMode STROKE

Stroke text.

STROKE_CLIPback to summary
public static final RenderingMode STROKE_CLIP

Stroke text and add to path for clipping.

valueback to summary
private final int value
VALUESback to summary
private static final RenderingMode[] VALUES

Constructor Detail

RenderingModeback to summary
private RenderingMode(int value)

Method Detail

fromIntback to summary
public static RenderingMode fromInt(int value)
intValueback to summary
public int intValue()

Returns the integer value of this mode, as used in a PDF file.

Returns:int

the integer value of this mode

isClipback to summary
public boolean isClip()

Returns true if this mode clips text.

Returns:boolean

true if this mode clips text

isFillback to summary
public boolean isFill()

Returns true if this mode fills text.

Returns:boolean

true if this mode fills text

isStrokeback to summary
public boolean isStroke()

Returns true if this mode strokes text.

Returns:boolean

true if this mode strokes text

valueOfback to summary
public static RenderingMode valueOf(String name)
valuesback to summary
public static RenderingMode[] values()