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 Detail

      • isBleedMarginMarked

        boolean isBleedMarginMarked()
        Returns true if the bleed margin should be drawn (as crop marks).
        Returns:
        true if crop marks are enabled
      • setBleedMarginMarked

        void setBleedMarginMarked​(boolean mark)
        Sets whether the user bleed margin is drawn (as crop marks).
        Parameters:
        mark - true if 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