Class DimensionsImpl

  • All Implemented Interfaces:
    Dimensions, java.io.Serializable

    public class DimensionsImpl
    extends java.lang.Object
    implements java.io.Serializable, Dimensions
    See Also:
    Serialized Form
    • Constructor Detail

      • DimensionsImpl

        public DimensionsImpl()
    • Method Detail

      • getSize

        public Size getSize()
        Description copied from interface: Dimensions
        Gets the size.
        Specified by:
        getSize in interface Dimensions
        Returns:
        the size
      • setSize

        public void setSize​(Size size)
        Description copied from interface: Dimensions
        Sets the size.
        Specified by:
        setSize in interface Dimensions
        Parameters:
        size - the new size
      • getBleed

        public Bleed getBleed()
        Description copied from interface: Dimensions
        Gets the bleed.
        Specified by:
        getBleed in interface Dimensions
        Returns:
        the bleed
      • setBleed

        public void setBleed​(Bleed bleed)
        Description copied from interface: Dimensions
        Sets the bleed.
        Specified by:
        setBleed in interface Dimensions
        Parameters:
        bleed - the new bleed
      • getSlug

        public Slug getSlug()
        Description copied from interface: Dimensions
        Gets the slug.
        Specified by:
        getSlug in interface Dimensions
        Returns:
        the slug
      • setSlug

        public void setSlug​(Slug slug)
        Description copied from interface: Dimensions
        Sets the slug.
        Specified by:
        setSlug in interface Dimensions
        Parameters:
        slug - the new slug
      • setMargins

        public void setMargins​(Margin margins)
        Description copied from interface: Dimensions
        Sets the margins.
        Specified by:
        setMargins in interface Dimensions
        Parameters:
        margins - the new margins