de.inghuimische.uta.typeset
Interface JustificationAlgorithm
- All Superinterfaces:
- QManageable
- public interface JustificationAlgorithm
- extends QManageable
A justification algorithm justifies lines of text by modifing
Justifiables
of
variable width.
- Author:
- Christian Ziesemer
justify
public EmbeddingLevel justify(EmbeddingLevel anEmbeddingLevel,
List breakpoints)
- Iterates over the items and adjusts their width.
- Parameters:
anEmbeddingLevel
- The embedding level to adjust.breakpoints
- A list of the breakpoints found by the linebreaking
algorithm.
- Returns:
- The adjusted embedding level (which is same as
anEmbeddingLevel).
 An inghuimische.de
project. | Copyright (C) 2004 Christian Ziesemer; See the Mozilla Public
License for more details.
|