public class KnuthBox extends KnuthElement
INFINITE
Constructor and Description |
---|
KnuthBox(int width,
Position pos,
boolean auxiliary)
Creates a new
KnuthBox . |
Modifier and Type | Method and Description |
---|---|
boolean |
isBox() |
String |
toString() |
getPenalty, getShrink, getStretch, getWidth, isAuxiliary, isUnresolvedElement
getLayoutManager, getPosition, isForcedBreak, isGlue, isPenalty, setPosition
public KnuthBox(int width, Position pos, boolean auxiliary)
KnuthBox
.width
- the width of this boxpos
- the Position stored in this boxauxiliary
- is this box auxiliary?public boolean isBox()
isBox
in class ListElement
Copyright © 2025 Apache Software Foundation. All rights reserved.