Interface BleedMarginStyle

  • All Superinterfaces:
    Style
    All Known Implementing Classes:
    BleedMarginStylePanel, CardFace, Deck

    public interface BleedMarginStyle
    extends Style
    Implemented by page items that can include a bleed margin.
    Author:
    Chris Jennings
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getBleedMarginWidth()
      Returns the bleed margin width to use when the relevant finish option is selected.
      FinishStyle getFinishStyle()
      Returns the finish style set on this item, or null if the deck default style should be used.
      void setBleedMarginWidth​(double widthInPoints)
      Sets the bleed margin width to use when the relevant finish option is selected.
      void setFinishStyle​(FinishStyle style)
      Sets the edge finish style to use for this item, or null if the deck default option should be used.
    • Method Detail

      • getFinishStyle

        FinishStyle getFinishStyle()
        Returns the finish style set on this item, or null if the deck default style should be used.
        Returns:
        the finish style to use
      • setFinishStyle

        void setFinishStyle​(FinishStyle style)
        Sets the edge finish style to use for this item, or null if the deck default option should be used.
        Parameters:
        style - the style to use
      • getBleedMarginWidth

        double getBleedMarginWidth()
        Returns the bleed margin width to use when the relevant finish option is selected.
        Returns:
        the positive width in points
      • setBleedMarginWidth

        void setBleedMarginWidth​(double widthInPoints)
        Sets the bleed margin width to use when the relevant finish option is selected.
        Parameters:
        widthInPoints - the positive bleed margin width