org.eclipse.graphiti.ui.services
Interface IUiLayoutService
- All Superinterfaces:
- IGaLayoutService, ILayoutService, IPeLayoutService
public interface IUiLayoutService
- extends ILayoutService
Extends the layout service interface to be able to offer layout methods which
depend on UI.
calculateTextSize
IDimension calculateTextSize(String text,
Font font)
- Calculates the width and height of the given text in the given font.
- Parameters:
text
- the string to calculate the rendering size forfont
- the font which should be considered for the string
- Returns:
Copyright (c) SAP AG 2005, 2010.