iText 8.0.5 API
iText.Layout.Font.RangeBuilder Class Reference

Builder of Range. More...

Public Member Functions

  RangeBuilder ()
  Default constructor with empty range. More...
 
  RangeBuilder (int low, int high)
  Constructor with a single range. More...
 
  RangeBuilder (int n)
  Constructor with a single number. More...
 
  RangeBuilder (char low, char high)
  Constructor with a single range. More...
 
  RangeBuilder (char ch)
  Constructor with a single char. More...
 
virtual iText.Layout.Font.RangeBuilder  AddRange (int low, int high)
  Add one more range. More...
 
virtual iText.Layout.Font.RangeBuilder  AddRange (char low, char high)
  Add one more range. More...
 
virtual iText.Layout.Font.RangeBuilder  AddRange (int n)
  Add range with a single number. More...
 
virtual iText.Layout.Font.RangeBuilder  AddRange (char ch)
  Add range with a single char. More...
 
virtual Range  Create ()
  Creates a Range instance based on added ranges. More...
 

Detailed Description

Builder of Range.

Constructor & Destructor Documentation

◆ RangeBuilder() [1/5]

iText.Layout.Font.RangeBuilder.RangeBuilder ( )
inline

Default constructor with empty range.

◆ RangeBuilder() [2/5]

iText.Layout.Font.RangeBuilder.RangeBuilder ( int  low,
int  high 
)
inline

Constructor with a single range.

Parameters
low low boundary of the range
high high boundary of the range

◆ RangeBuilder() [3/5]

iText.Layout.Font.RangeBuilder.RangeBuilder ( int  n )
inline

Constructor with a single number.

Parameters
n a single number

◆ RangeBuilder() [4/5]

iText.Layout.Font.RangeBuilder.RangeBuilder ( char  low,
char  high 
)
inline

Constructor with a single range.

Parameters
low low boundary of the range
high high boundary of the range

◆ RangeBuilder() [5/5]

iText.Layout.Font.RangeBuilder.RangeBuilder ( char  ch )
inline

Constructor with a single char.

Parameters
ch a single char

Member Function Documentation

◆ AddRange() [1/4]

virtual iText.Layout.Font.RangeBuilder iText.Layout.Font.RangeBuilder.AddRange ( char  ch )
inlinevirtual

Add range with a single char.

Parameters
ch a single char
Returns
this RangeBuilder

◆ AddRange() [2/4]

virtual iText.Layout.Font.RangeBuilder iText.Layout.Font.RangeBuilder.AddRange ( char  low,
char  high 
)
inlinevirtual

Add one more range.

Parameters
low low boundary of the range
high high boundary of the range
Returns
this RangeBuilder

◆ AddRange() [3/4]

virtual iText.Layout.Font.RangeBuilder iText.Layout.Font.RangeBuilder.AddRange ( int  low,
int  high 
)
inlinevirtual

Add one more range.

Parameters
low low boundary of the range
high high boundary of the range
Returns
this RangeBuilder

◆ AddRange() [4/4]

virtual iText.Layout.Font.RangeBuilder iText.Layout.Font.RangeBuilder.AddRange ( int  n )
inlinevirtual

Add range with a single number.

Parameters
n a single number
Returns
this RangeBuilder

◆ Create()

virtual Range iText.Layout.Font.RangeBuilder.Create ( )
inlinevirtual

Creates a Range instance based on added ranges.

Returns
the Range instance based on added ranges