|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The LayoutSupport contains all methods required to estaminate sizes for the content-creation.
Content
Method Summary | |
SizeCalculator |
createTextSizeCalculator(FontDefinition font)
Creates a size calculator for the current state of the output target. |
ContentFactory |
getContentFactory()
Returns the assigned content factory for the target. |
float |
getHorizontalAlignmentBorder()
Returns the element alignment. |
float |
getVerticalAlignmentBorder()
Returns the element alignment. |
Method Detail |
public SizeCalculator createTextSizeCalculator(FontDefinition font) throws SizeCalculatorException
font
- the font.
SizeCalculatorException
- if there is a problem with the output target.public float getVerticalAlignmentBorder()
mod(X, horizontalAlignment) == 0
and
mod(Y, verticalAlignment) == 0
. Returning 0 will disable
the alignment.
public float getHorizontalAlignmentBorder()
mod(X, horizontalAlignment) == 0
and
mod(Y, verticalAlignment) == 0
. Returning 0 will disable
the alignment.
public ContentFactory getContentFactory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |