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 class
BlockSpacing.Builder
Provides a builder for block spacing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getBottomSpacing()
Get bottom spacing, in charactersint
getLeftSpacing()
Get left spacing, in charactersint
getRightSpacing()
Get right spacing, in charactersint
getTopSpacing()
Get top spacing, in charactersint
hashCode()
-
-
-
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
-
-