public interface ILayouter
Modifier and Type | Method and Description |
---|---|
Point |
getInitialOffset(Word word,
Rectangle cloudArea)
Calculates the initial offset of the given word, within the bounds of the
specified rectangle.
|
boolean |
layout(Point initial,
Word word,
Rectangle cloudArea,
CloudMatrix cloudMatrix)
Places the given word within the defined rectangle, starting at the
initial position.
|
void |
setOption(java.lang.String optionName,
java.lang.Object object)
Set Layouter-specific options.
|
boolean layout(Point initial, Word word, Rectangle cloudArea, CloudMatrix cloudMatrix)
initial
- word
- cloudArea
- cloudMatrix
- Point getInitialOffset(Word word, Rectangle cloudArea)
word
- cloudArea
- void setOption(java.lang.String optionName, java.lang.Object object)
DefaultLayouter
as an example.optionName
- object
- Copyright (c) 2000, 2012 itemis AG and others. All rights reserved.