Unified Typesetting API M1-20040817

de.inghuimische.uta.linebreaking
Interface Width

All Known Implementing Classes:
AbstractWidth

public interface Width

A width consists of three values, a minimal, preferred and a maximal width.

Author:
Christian Ziesemer

Method Summary
 double getMaximumWidth()
          Returns the maximum width of an item.
 double getMinimumWidth()
          Returns the minimum width of an item this.
 double getPreferredWidth()
          Returns the preferred width of something.
 

Method Detail

getPreferredWidth

public double getPreferredWidth()
Returns the preferred width of something. This value may be negative although there should be no need to. The use of negative values is deprecated. Linebreak algorithm use this method to determine the width of a line.

Returns:
The preferred width of an item.

getMaximumWidth

public double getMaximumWidth()
Returns the maximum width of an item. This value may be negative although there should be no need to. The use of negative values is deprecated.

Returns:
The maximum width of an item.

getMinimumWidth

public double getMinimumWidth()
Returns the minimum width of an item this. This value may be negative although there should be no need to. The use of negative values is deprecated.

Returns:
The minimum width of an item.

Unified Typesetting API M1-20040817


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