Table of Contents

Class LineRenderer

Namespace
iText.Layout.Renderer
Assembly
itext.layout.dll
public class LineRenderer : AbstractRenderer, IRenderer, IPropertyContainer
Inheritance
LineRenderer
Implements
Inherited Members

Constructors

LineRenderer()

public LineRenderer()

Fields

levels

protected byte[] levels

Field Value

byte[]

maxAscent

protected float maxAscent

Field Value

float

maxDescent

protected float maxDescent

Field Value

float

Methods

AdjustChildrenYLine()

protected virtual LineRenderer AdjustChildrenYLine()

Returns

LineRenderer

ApplyLeading(float)

protected virtual void ApplyLeading(float deltaY)

Parameters

deltaY float

BaseCharactersCount()

Returns the number of base characters, i.e. non-mark characters

protected virtual int BaseCharactersCount()

Returns

int

the number of base non-mark characters

ContainsImage()

public virtual bool ContainsImage()

Returns

bool

CreateOverflowRenderer()

protected virtual LineRenderer CreateOverflowRenderer()

Returns

LineRenderer

CreateSplitRenderer()

protected virtual LineRenderer CreateSplitRenderer()

Returns

LineRenderer

GetFirstYLineRecursively()

protected override float? GetFirstYLineRecursively()

Returns

float?

GetLastYLineRecursively()

protected override float? GetLastYLineRecursively()

Returns

float?

GetLeadingValue(Leading)

public virtual float GetLeadingValue(Leading leading)

Parameters

leading Leading

Returns

float

GetMaxAscent()

public virtual float GetMaxAscent()

Returns

float

GetMaxDescent()

public virtual float GetMaxDescent()

Returns

float

GetMinMaxWidth()

public override MinMaxWidth GetMinMaxWidth()

Returns

MinMaxWidth

GetNextRenderer()

public override IRenderer GetNextRenderer()

Returns

IRenderer

GetNumberOfSpaces()

protected virtual int GetNumberOfSpaces()

Returns

int

GetYLine()

public virtual float GetYLine()

Returns

float

Justify(float)

public virtual void Justify(float width)

Parameters

width float

Layout(LayoutContext)

public override LayoutResult Layout(LayoutContext layoutContext)

Parameters

layoutContext LayoutContext

Returns

LayoutResult

Length()

Gets the total lengths of characters in this line.

protected virtual int Length()

Returns

int

the total lengths of characters in this line.

Remarks

Gets the total lengths of characters in this line. Other elements (images, tables) are not taken into account.

Split()

protected virtual LineRenderer[] Split()

Returns

LineRenderer[]

ToString()

public override string ToString()

Returns

string

TrimLast()

protected virtual LineRenderer TrimLast()

Returns

LineRenderer