iText 9.7.0 API
iText.IO.Font.Otf.GlyphLine.GlyphLinePart Class Reference

Public Member Functions

  GlyphLinePart (int start, int end)
  Creates a glyph line part object with given start and end values. More...
 
  GlyphLinePart (int start, int end, String actualText)
  Creates a glyph line part object with given start, end and actual text values. More...
 
virtual int  GetStart ()
  Retrieves the start of the glyph line part. More...
 
virtual GlyphLine.GlyphLinePart  SetStart (int start)
  Sets the start of the glyph line part. More...
 
virtual int  GetEnd ()
  Retrieves the end of the glyph line part. More...
 
virtual GlyphLine.GlyphLinePart  SetEnd (int end)
  Sets the end of the glyph line part. More...
 
virtual String  GetActualText ()
  Retrieves the actual text of the glyph line part. More...
 
virtual GlyphLine.GlyphLinePart  SetActualText (String actualText)
  Sets the actual text of the glyph line part. More...
 
virtual bool  IsReversed ()
  Retrieves whether the glyph line part is reversed. More...
 
virtual GlyphLine.GlyphLinePart  SetReversed (bool reversed)
  Sets whether the glyph line part is reversed. More...
 

Constructor & Destructor Documentation

◆ GlyphLinePart() [1/2]

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

Creates a glyph line part object with given start and end values.

Creates a glyph line part object with given start and end values. Actual text is set to null.

Parameters
start start value of the glyph line part
end end value of the glyph line part

◆ GlyphLinePart() [2/2]

iText.IO.Font.Otf.GlyphLine.GlyphLinePart.GlyphLinePart ( int  start,
int  end,
String  actualText 
)
inline

Creates a glyph line part object with given start, end and actual text values.

Parameters
start start value of the glyph line part
end end value of the glyph line part
actualText actual text

Member Function Documentation

◆ GetActualText()

virtual String iText.IO.Font.Otf.GlyphLine.GlyphLinePart.GetActualText ( )
inlinevirtual

Retrieves the actual text of the glyph line part.

Returns
Actual text of glyph line part

◆ GetEnd()

virtual int iText.IO.Font.Otf.GlyphLine.GlyphLinePart.GetEnd ( )
inlinevirtual

Retrieves the end of the glyph line part.

Returns
end value of glyph line part

◆ GetStart()

virtual int iText.IO.Font.Otf.GlyphLine.GlyphLinePart.GetStart ( )
inlinevirtual

Retrieves the start of the glyph line part.

Returns
start value of glyph line part

◆ IsReversed()

virtual bool iText.IO.Font.Otf.GlyphLine.GlyphLinePart.IsReversed ( )
inlinevirtual

Retrieves whether the glyph line part is reversed.

Returns
True if it is reversed, false otherwise.

◆ SetActualText()

virtual GlyphLine.GlyphLinePart iText.IO.Font.Otf.GlyphLine.GlyphLinePart.SetActualText ( String  actualText )
inlinevirtual

Sets the actual text of the glyph line part.

Parameters
actualText Actual text of glyph line part
Returns
Altered Glyph line part object

◆ SetEnd()

virtual GlyphLine.GlyphLinePart iText.IO.Font.Otf.GlyphLine.GlyphLinePart.SetEnd ( int  end )
inlinevirtual

Sets the end of the glyph line part.

Parameters
end end value of glyph line part
Returns
Altered glyph line part object

◆ SetReversed()

virtual GlyphLine.GlyphLinePart iText.IO.Font.Otf.GlyphLine.GlyphLinePart.SetReversed ( bool  reversed )
inlinevirtual

Sets whether the glyph line part is reversed.

Parameters
reversed true if it should be reversed, false otherwise
Returns
Altered glyph line part object

◆ SetStart()

virtual GlyphLine.GlyphLinePart iText.IO.Font.Otf.GlyphLine.GlyphLinePart.SetStart ( int  start )
inlinevirtual

Sets the start of the glyph line part.

Parameters
start start of the glyph line part
Returns
Altered glyph line part object