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.

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