GlyphPosition

GlyphPosition

Overview

GlyphPosition is a class in Aspose.PDF FOSS for Java.

Represents a single element in a TJ (show text with glyph positioning) array.

This class provides 7 methods for working with GlyphPosition objects in Java programs. Available methods include: GlyphPosition, getAdjustment, getText, isText, toString. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: adjustment, text.

Properties

NameTypeAccessDescription
textbooleanReadReturns whether this element represents a text string.
adjustmentdoubleReadReturns the position adjustment value.

Methods

SignatureDescription
GlyphPosition(text: String)Creates a text glyph position with no adjustment.
GlyphPosition(adjustment: double)Creates a numeric adjustment glyph position.
GlyphPosition(text: String, adjustment: double)Creates a text glyph position with an associated adjustment.
getText()StringReturns the text string, or null if this is a numeric adjustment only.
getAdjustment()doubleReturns the position adjustment value.
isText()booleanReturns whether this element represents a text string.
toString()String

See Also

 English