Unified Typesetting API M1-20040817

de.inghuimische.uta.linebreaking
Interface LineWidthModel

All Known Implementing Classes:
SinusLineWidthModel

public interface LineWidthModel

An interface to allow variable line width while linebreaking a paragraph.

This approach is similar to TeX's parshape.

Author:
Christian Ziesemer

Method Summary
 double getLineWidth(int line)
          Returns the line width for the given line.
 

Method Detail

getLineWidth

public double getLineWidth(int line)
Returns the line width for the given line.

Parameters:
line - The actual line a width is needed for.
Returns:
The line width for the given line.

Unified Typesetting API M1-20040817


An inghuimische.de project.
Copyright (C) 2004 Christian Ziesemer; See the Mozilla Public License for more details.