Package com.datalogics.PDFL
Enum Class TextRenderMode
- All Implemented Interfaces:
Serializable,Comparable<TextRenderMode>,Constable
Text rendering mode determines whether text shown will have glyph outlines stroked, filled, used as a clipping path boundary, or feature some combination of those three values.
Text may also be hidden (invisible).
Fill sets the color inside an object. Stroke sets the color of the line drawn around that object.
With a PDF file, clipping paths define closed shapes, lines, and boundaries for clip art or graphics, and they define filled areas within graphics. A clipping path can be used to edit a graphic design by removing part of the art, so that only the shapes outlined by the path appear. You could use a clipping path to remove the background in a photo or superimpose text on an image.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic TextRenderModeReturns the enum constant of this class with the specified name.static TextRenderMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
FILL
-
STROKE
-
FILL_THEN_STROKE
-
INVISIBLE
-
FILL_AND_ADD_TO_CLIP_PATH
-
STROKE_AND_ADD_TO_CLIP_PATH
-
FILL_THEN_STROKE_AND_ADD_TO_CLIP_PATH
-
INVISIBLE_ADD_TO_CLIP_PATH
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-