Class Paper

    • Constructor Detail

      • Paper

        public Paper()
    • Method Detail

      • setImageableArea

        public void setImageableArea​(double x,
                                     double y,
                                     double width,
                                     double height)
        Sets the imageable area of this Paper. The imageable area is the area on the page in which printing occurs.
        Parameters:
        x - X coordinate of the upper-left corner of the imageable area
        y - Y coordinate of the upper-left corner of the imageable area
        width - width of the imageable area of the paper
        height - height of the imageable area of the paper
        See Also:
        Paper.setImageableArea(double, double, double, double)
      • setSize

        public void setSize​(double width,
                            double height)
        Sets the width and height of this Paper object
        Parameters:
        width - this Paper's width
        height - this Paper's height
        See Also:
        Paper.setSize(double, double)
      • toAwtValue

        public Paper toAwtValue()
        Returns:
        the AWT version of this instance
      • fromAwtValue

        public static Paper fromAwtValue​(Paper paper)
        Transforms an AWT Paper instance to a jadice Paper instance.
        Parameters:
        paper - the AWT Paper instance
        Returns:
        the jadice Paper instance