Package org.eclipse.zest.cloudio.layout
Interface ILayouter
- All Known Implementing Classes:
DefaultLayouter
public interface ILayouter
-
Method Summary
Modifier and TypeMethodDescriptiongetInitialOffset
(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
Set Layouter-specific options.
-
Method Details
-
layout
Places the given word within the defined rectangle, starting at the initial position.- Parameters:
initial
-word
-cloudArea
-cloudMatrix
-
-
getInitialOffset
Calculates the initial offset of the given word, within the bounds of the specified rectangle. The layout algorithm will try to find a matching position around the initial offset.- Parameters:
word
-cloudArea
-
-
setOption
Set Layouter-specific options. SeeDefaultLayouter
as an example.- Parameters:
optionName
-object
-
-