Liking cljdoc? Tell your friends :D

jdk.awt.print.PageFormat

The PageFormat class describes the size and orientation of a page to be printed.

The PageFormat class describes the size and
orientation of a page to be printed.
raw docstring

*-landscapeclj

Static Constant.

The origin is at the bottom left of the paper with x running bottom to top and y running left to right. Note that this is not the Macintosh landscape but is the Window's and PostScript landscape.

type: int

Static Constant.

The origin is at the bottom left of the paper with
  x running bottom to top and y running left to right.
  Note that this is not the Macintosh landscape but
  is the Window's and PostScript landscape.

type: int
raw docstring

*-portraitclj

Static Constant.

The origin is at the top left of the paper with x running to the right and y running down the paper.

type: int

Static Constant.

The origin is at the top left of the paper with
  x running to the right and y running down the
  paper.

type: int
raw docstring

*-reverse-landscapeclj

Static Constant.

The origin is at the top right of the paper with x running top to bottom and y running right to left. Note that this is the Macintosh landscape.

type: int

Static Constant.

The origin is at the top right of the paper with x
  running top to bottom and y running right to left.
  Note that this is the Macintosh landscape.

type: int
raw docstring

->page-formatclj

(->page-format)

Constructor.

Creates a default, portrait-oriented PageFormat.

Constructor.

Creates a default, portrait-oriented
 PageFormat.
raw docstring

cloneclj

(clone this)

Makes a copy of this PageFormat with the same contents as this PageFormat.

returns: a copy of this PageFormat. - java.lang.Object

Makes a copy of this PageFormat with the same
 contents as this PageFormat.

returns: a copy of this PageFormat. - `java.lang.Object`
raw docstring

get-heightclj

(get-height this)

Returns the height, in 1/72nds of an inch, of the page. This method takes into account the orientation of the page when determining the height.

returns: the height of the page. - double

Returns the height, in 1/72nds of an inch, of the page.
 This method takes into account the orientation of the
 page when determining the height.

returns: the height of the page. - `double`
raw docstring

get-imageable-heightclj

(get-imageable-height this)

Return the height, in 1/72nds of an inch, of the imageable area of the page. This method takes into account the orientation of the page.

returns: the height of the page. - double

Return the height, in 1/72nds of an inch, of the imageable
 area of the page. This method takes into account the orientation
 of the page.

returns: the height of the page. - `double`
raw docstring

get-imageable-widthclj

(get-imageable-width this)

Returns the width, in 1/72nds of an inch, of the imageable area of the page. This method takes into account the orientation of the page.

returns: the width of the page. - double

Returns the width, in 1/72nds of an inch, of the imageable
 area of the page. This method takes into account the orientation
 of the page.

returns: the width of the page. - `double`
raw docstring

get-imageable-xclj

(get-imageable-x this)

Returns the x coordinate of the upper left point of the imageable area of the Paper object associated with this PageFormat. This method takes into account the orientation of the page.

returns: the x coordinate of the upper left point of the imageable area of the Paper object associated with this PageFormat. - double

Returns the x coordinate of the upper left point of the
 imageable area of the Paper object
 associated with this PageFormat.
 This method takes into account the
 orientation of the page.

returns: the x coordinate of the upper left point of the
 imageable area of the Paper object
 associated with this PageFormat. - `double`
raw docstring

get-imageable-yclj

(get-imageable-y this)

Returns the y coordinate of the upper left point of the imageable area of the Paper object associated with this PageFormat. This method takes into account the orientation of the page.

returns: the y coordinate of the upper left point of the imageable area of the Paper object associated with this PageFormat. - double

Returns the y coordinate of the upper left point of the
 imageable area of the Paper object
 associated with this PageFormat.
 This method takes into account the
 orientation of the page.

returns: the y coordinate of the upper left point of the
 imageable area of the Paper object
 associated with this PageFormat. - `double`
raw docstring

get-matrixclj

(get-matrix this)

Returns a transformation matrix that translates user space rendering to the requested orientation of the page. The values are placed into the array as { m00, m10, m01, m11, m02, m12} in the form required by the AffineTransform constructor.

returns: the matrix used to translate user space rendering to the orientation of the page. - double[]

Returns a transformation matrix that translates user
 space rendering to the requested orientation
 of the page.  The values are placed into the
 array as
 { m00, m10, m01, m11, m02, m12} in
 the form required by the AffineTransform
 constructor.

returns: the matrix used to translate user space rendering
 to the orientation of the page. - `double[]`
raw docstring

get-orientationclj

(get-orientation this)

Returns the orientation of this PageFormat.

returns: this PageFormat object's orientation. - int

Returns the orientation of this PageFormat.

returns: this PageFormat object's orientation. - `int`
raw docstring

get-paperclj

(get-paper this)

Returns a copy of the Paper object associated with this PageFormat. Changes made to the Paper object returned from this method do not affect the Paper object of this PageFormat. To update the Paper object of this PageFormat, create a new Paper object and set it into this PageFormat by using the setPaper(Paper) method.

returns: a copy of the Paper object associated with this PageFormat. - java.awt.print.Paper

Returns a copy of the Paper object associated
 with this PageFormat.  Changes made to the
 Paper object returned from this method do not
 affect the Paper object of this
 PageFormat.  To update the Paper
 object of this PageFormat, create a new
 Paper object and set it into this
 PageFormat by using the setPaper(Paper)
 method.

returns: a copy of the Paper object associated
          with this PageFormat. - `java.awt.print.Paper`
raw docstring

get-widthclj

(get-width this)

Returns the width, in 1/72nds of an inch, of the page. This method takes into account the orientation of the page when determining the width.

returns: the width of the page. - double

Returns the width, in 1/72nds of an inch, of the page.
 This method takes into account the orientation of the
 page when determining the width.

returns: the width of the page. - `double`
raw docstring

set-orientationclj

(set-orientation this orientation)

Sets the page orientation. orientation must be one of the constants: PORTRAIT, LANDSCAPE, or REVERSE_LANDSCAPE.

orientation - the new orientation for the page - int

throws: java.lang.IllegalArgumentException - if an unknown orientation was requested

Sets the page orientation. orientation must be
 one of the constants: PORTRAIT, LANDSCAPE,
 or REVERSE_LANDSCAPE.

orientation - the new orientation for the page - `int`

throws: java.lang.IllegalArgumentException - if an unknown orientation was requested
raw docstring

set-paperclj

(set-paper this paper)

Sets the Paper object for this PageFormat.

paper - the Paper object to which to set the Paper object for this PageFormat. - java.awt.print.Paper

throws: java.lang.NullPointerException - a null paper instance was passed as a parameter.

Sets the Paper object for this
 PageFormat.

paper - the Paper object to which to set the Paper object for this PageFormat. - `java.awt.print.Paper`

throws: java.lang.NullPointerException - a null paper instance was passed as a parameter.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close