Interface UserBleedMarginStyle
-
- All Superinterfaces:
Style
- All Known Implementing Classes:
CustomTile
public interface UserBleedMarginStyle extends Style
A style implemented by items that can have a custom, user-defined bleed margin.- Since:
- 3.0
- Author:
- Chris Jennings
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetBleedMargin()Returns the size of the user-defined bleed margin, in points.booleanisBleedMarginMarked()Returnstrueif the bleed margin should be drawn (as crop marks).voidsetBleedMargin(double margin)Sets the size of the user-defined bleed margin, in points.voidsetBleedMarginMarked(boolean mark)Sets whether the user bleed margin is drawn (as crop marks).
-
-
-
Method Detail
-
isBleedMarginMarked
boolean isBleedMarginMarked()
Returnstrueif the bleed margin should be drawn (as crop marks).- Returns:
trueif crop marks are enabled
-
setBleedMarginMarked
void setBleedMarginMarked(boolean mark)
Sets whether the user bleed margin is drawn (as crop marks).- Parameters:
mark-trueif crop marks are enabled
-
getBleedMargin
double getBleedMargin()
Returns the size of the user-defined bleed margin, in points.- Returns:
- the bleed margin size
-
setBleedMargin
void setBleedMargin(double margin)
Sets the size of the user-defined bleed margin, in points. If the specified value is more half of the greater of the width or height of the item, then the value will be silently reduced to this maximum.- Parameters:
margin- the bleed margin size
-
-