Package org.daisy.dotify.api.formatter
Class BlockSpacing
- java.lang.Object
-
- org.daisy.dotify.api.formatter.BlockSpacing
-
public final class BlockSpacing extends Object
Provides a spacing definition for blocks.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBlockSpacing.BuilderProvides a builder for block spacing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetBottomSpacing()Get bottom spacing, in charactersintgetLeftSpacing()Get left spacing, in charactersintgetRightSpacing()Get right spacing, in charactersintgetTopSpacing()Get top spacing, in charactersinthashCode()
-
-
-
Method Detail
-
getLeftSpacing
public int getLeftSpacing()
Get left spacing, in characters- Returns:
- returns the left spacing
-
getRightSpacing
public int getRightSpacing()
Get right spacing, in characters- Returns:
- returns the right spacing
-
getTopSpacing
public int getTopSpacing()
Get top spacing, in characters- Returns:
- returns the top spacing
-
getBottomSpacing
public int getBottomSpacing()
Get bottom spacing, in characters- Returns:
- returns the bottom spacing
-
-