|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LayoutSupport
The LayoutSupport contains all methods required to estaminate sizes for the content-creation.
| Method Summary | |
|---|---|
SizeCalculator |
createTextSizeCalculator(FontDefinition font)
Deprecated. Creates a size calculator for the current state of the output target. |
float |
getHorizontalAlignmentBorder()
Deprecated. Returns the element alignment. |
long |
getInternalHorizontalAlignmentBorder()
Deprecated. Returns the element alignment. |
long |
getInternalVerticalAlignmentBorder()
Deprecated. Returns the element alignment. |
float |
getVerticalAlignmentBorder()
Deprecated. Returns the element alignment. |
boolean |
isImageResolutionMappingActive()
Deprecated. Checks, if the layouter uses the System's native resolution to compute the size of images. |
| Method Detail |
|---|
SizeCalculator createTextSizeCalculator(FontDefinition font)
throws SizeCalculatorException
font - the font.
SizeCalculatorException - if there is a problem with the output target.float getVerticalAlignmentBorder()
mod(X,
horizontalAlignment) == 0 and mod(Y, verticalAlignment) == 0. Returning 0 will disable the
alignment.
float getHorizontalAlignmentBorder()
mod(X,
horizontalAlignment) == 0 and mod(Y, verticalAlignment) == 0. Returning 0 will disable the
alignment.
long getInternalVerticalAlignmentBorder()
mod(X,
horizontalAlignment) == 0 and mod(Y, verticalAlignment) == 0. Returning 0 will disable the
alignment.
Q&D Hack: Save some cycles of processor time by computing that thing only once.
long getInternalHorizontalAlignmentBorder()
mod(X,
horizontalAlignment) == 0 and mod(Y, verticalAlignment) == 0. Returning 0 will disable the
alignment.
Q&D Hack: Save some cycles of processor time by computing that thing only once.
boolean isImageResolutionMappingActive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||