iText 8.0.2 API
iText.IO.Font.Otf.GlyphLine Class Reference

Classes

class   ActualText
 
class   GlyphLinePart
 
interface   IGlyphLineFilter
 

Public Member Functions

  GlyphLine (IList< Glyph > glyphs)
  Create a new line of Glyphs. More...
 
  GlyphLine (IList< Glyph > glyphs, int start, int end)
  Create a new line of Glyphs from a slice of a List of Glyphs. More...
 
  GlyphLine (iText.IO.Font.Otf.GlyphLine other)
  Copy a line of Glyphs. More...
 
  GlyphLine (iText.IO.Font.Otf.GlyphLine other, int start, int end)
  Copy a slice of a line of Glyphs More...
 
virtual String  ToUnicodeString (int start, int end)
  Get the unicode string representation of the GlyphLine slice. More...
 
override String  ToString ()
 
virtual iText.IO.Font.Otf.GlyphLine  Copy (int left, int right)
  Copy a slice of this Glyphline. More...
 
virtual Glyph  Get (int index)
 
virtual Glyph  Set (int index, Glyph glyph)
 
virtual void  Add (Glyph glyph)
 
virtual void  Add (int index, Glyph glyph)
 
virtual void  SetGlyphs (IList< Glyph > replacementGlyphs)
 
virtual void  Add (iText.IO.Font.Otf.GlyphLine other)
  Add a line to the current one. More...
 
virtual void  ReplaceContent (iText.IO.Font.Otf.GlyphLine other)
  Replaces the current content with the other line's content. More...
 
virtual int  Size ()
 
virtual void  SubstituteManyToOne (OpenTypeFontTableReader tableReader, int lookupFlag, int rightPartLen, int substitutionGlyphIndex)
 
virtual void  SubstituteOneToOne (OpenTypeFontTableReader tableReader, int substitutionGlyphIndex)
 
virtual void  SubstituteOneToMany (OpenTypeFontTableReader tableReader, int[] substGlyphIds)
 
virtual iText.IO.Font.Otf.GlyphLine  Filter (GlyphLine.IGlyphLineFilter filter)
 
virtual void  SetActualText (int left, int right, String text)
 
virtual IEnumerator< GlyphLine.GlyphLinePart Iterator ()
 
override bool  Equals (Object obj)
 
override int  GetHashCode ()
 

Public Attributes

int  start
 
int  end
 
int  idx
 

Constructor & Destructor Documentation

◆ GlyphLine() [1/4]

iText.IO.Font.Otf.GlyphLine.GlyphLine ( IList< Glyph glyphs )
inline

Create a new line of Glyphs.

Parameters
glyphs list containing the glyphs

◆ GlyphLine() [2/4]

iText.IO.Font.Otf.GlyphLine.GlyphLine ( IList< Glyph glyphs,
int  start,
int  end 
)
inline

Create a new line of Glyphs from a slice of a List of Glyphs.

Parameters
glyphs list of Glyphs to slice
start starting index of the slice
end terminating index of the slice

◆ GlyphLine() [3/4]

iText.IO.Font.Otf.GlyphLine.GlyphLine ( iText.IO.Font.Otf.GlyphLine  other )
inline

Copy a line of Glyphs.

Parameters
other line of Glyphs to copy

◆ GlyphLine() [4/4]

iText.IO.Font.Otf.GlyphLine.GlyphLine ( iText.IO.Font.Otf.GlyphLine  other,
int  start,
int  end 
)
inline

Copy a slice of a line of Glyphs

Parameters
other line of Glyphs to copy
start starting index of the slice
end terminating index of the slice

Member Function Documentation

◆ Add()

virtual void iText.IO.Font.Otf.GlyphLine.Add ( iText.IO.Font.Otf.GlyphLine  other )
inlinevirtual

Add a line to the current one.

Add a line to the current one. The glyphs from the start till the end points will be copied. The same is true for the actual text.

Parameters
other the line that should be added to the current one

◆ Copy()

virtual iText.IO.Font.Otf.GlyphLine iText.IO.Font.Otf.GlyphLine.Copy ( int  left,
int  right 
)
inlinevirtual

Copy a slice of this Glyphline.

Parameters
left leftmost index of the slice
right rightmost index of the slice
Returns
new GlyphLine containing the copied slice

◆ ReplaceContent()

virtual void iText.IO.Font.Otf.GlyphLine.ReplaceContent ( iText.IO.Font.Otf.GlyphLine  other )
inlinevirtual

Replaces the current content with the other line's content.

Parameters
other the line with the content to be set to the current one

◆ ToUnicodeString()

virtual String iText.IO.Font.Otf.GlyphLine.ToUnicodeString ( int  start,
int  end 
)
inlinevirtual

Get the unicode string representation of the GlyphLine slice.

Parameters
start starting index of the slice
end terminating index of the slice
Returns
String containing the unicode representation of the slice.