Liking cljdoc? Tell your friends :D

clj-paper-print.pageformat


pageformatcljmultimethod

A multimethod for PageFormat objects that will execute the methods of the java.awt.print.PageForamt class using the corresponding helper functions: clj-paper-print.pageformat/clone, clj-paper-print.pageformat/get-h, clj-paper-print.pageformat/get-w, clj-paper-print.pageformat/get-im-h, clj-paper-print.pageformat/get-im-w, clj-paper-print.pageformat/get-im-x, clj-paper-print.pageformat/get-im-y, clj-paper-print.pageformat/get-matrix, clj-paper-print.pageformat/get-orientation, clj-paper-print.pageformat/get-paper, clj-paper-print.pageformat/set-orientation, clj-paper-print.pageformat/set-paper.

A multimethod for PageFormat objects that will execute the methods of the
 `java.awt.print.PageForamt` class using the corresponding helper functions:
`clj-paper-print.pageformat/clone`, `clj-paper-print.pageformat/get-h`,
`clj-paper-print.pageformat/get-w`, `clj-paper-print.pageformat/get-im-h`,
`clj-paper-print.pageformat/get-im-w`, `clj-paper-print.pageformat/get-im-x`,
`clj-paper-print.pageformat/get-im-y`, `clj-paper-print.pageformat/get-matrix`,
`clj-paper-print.pageformat/get-orientation`, `clj-paper-print.pageformat/get-paper`,
`clj-paper-print.pageformat/set-orientation`, `clj-paper-print.pageformat/set-paper`.
sourceraw docstring

pf-cloneclj

(pf-clone pageformat)

A function that will accept a PageFormat object where after spec validation will create a clone of it and return the clone.

A function that will accept a PageFormat object where after spec validation will create a clone of it and
return the clone.
sourceraw docstring

pf-get-hclj

(pf-get-h pageformat)

A function that will accept a PageFormat object where after spec validation will return the page height in 1/72 of an inch.

A function that will accept a PageFormat object where after spec validation will return the page height in 1/72 of an inch.
sourceraw docstring

pf-get-im-hclj

(pf-get-im-h pageformat)

A function that will accept a PageFormat object where after spec validation will return the page Imageable area height in 1/72 of an inch.

A function that will accept a PageFormat object where after spec validation will return the page Imageable area height
in 1/72 of an inch.
sourceraw docstring

pf-get-im-wclj

(pf-get-im-w pageformat)

A function that will accept a PageFormat object where after spec validation will reutrn the page Imageable area width in 1/72 of an inch.

A function that will accept a PageFormat object where after spec validation will reutrn the page Imageable area width
in 1/72 of an inch.
sourceraw docstring

pf-get-im-xclj

(pf-get-im-x pageformat)

A function that will accept a PageFormat object where after spec validation will return the x coordinate (upper left) of the Paper object of this pageformat.

A function that will accept a PageFormat object where after spec validation will return the x coordinate (upper left)
of the Paper object of this pageformat.
sourceraw docstring

pf-get-im-yclj

(pf-get-im-y pageformat)

A function that will accept a PageFormat object where after spec validation will return the y coordinate (upper left) of the Paper object of this pageformat

A function that will accept a PageFormat object where after spec validation will return the y coordinate (upper left)
of the Paper object of this pageformat
sourceraw docstring

pf-get-matrixclj

(pf-get-matrix pageformat)

A function that will accept a PageFormat object where after spec validation will return a java array of Doubles with the transformation matrix of user space rendering to the requested orientatio of the page.

A function that will accept a PageFormat object where after spec validation will return a java array of Doubles with the
transformation matrix of user space rendering to the requested orientatio of the page.
sourceraw docstring

pf-get-orientationclj

(pf-get-orientation pageformat)

A function that will accept a PageFormat object where after spec validationwill reutrn the orientation of the pageformat. Orientations are static fields of the class type int.eg LANDSCAPE = 0, PORTRAIT = 1, REVERSE_LANDSCAPE = 2.

A function that will accept a PageFormat object where after spec validationwill reutrn the orientation of the pageformat.
Orientations are static fields of the class type int.eg LANDSCAPE = 0, PORTRAIT = 1, REVERSE_LANDSCAPE = 2.
sourceraw docstring

pf-get-paperclj

(pf-get-paper pageformat)

A function that will accept a PageFormat object where after spec validation will return a copy of the Paper object of this format.

A function that will accept a PageFormat object where after spec validation
will return a copy of the Paper object of this format.
sourceraw docstring

pf-get-wclj

(pf-get-w pageformat)

A function that will accept a PageFormat object where after spec validation will return the page width in 1/72 of an inch.

A function that will accept a PageFormat object where after spec validation will return the page width in 1/72 of an inch.
sourceraw docstring

pf-set-orientationclj

(pf-set-orientation [pageformat ornt])

A function that will accept a vector of PageFormat object and an orientation int. For the orientation field the clj-paper-print.pageformat/landscape, clj-paper-print.pageformat/portrait, clj-paper-print.pageformat/re-landscape defs can be used.

A function that will accept a vector of PageFormat object and an orientation int.
For the orientation field the `clj-paper-print.pageformat/landscape`, `clj-paper-print.pageformat/portrait`,
`clj-paper-print.pageformat/re-landscape` defs can be used.
sourceraw docstring

pf-set-paperclj

(pf-set-paper [pageformat paper])

A function that will accept a vector of PageForamt object and a Paper object, which will set the supplied paper to the pageformat.

A function that will accept a vector of PageForamt object and a Paper object, which will set the supplied
paper to the pageformat.
sourceraw docstring

pf-unit!cljmultimethod

A multimethod nested to pageformat multimethod to give the choice to return the desired result of dimensions in the requested unit (inches, mm, default[screen = 1/72 of inch]).

A multimethod nested to `pageformat` multimethod to give the choice to return the desired result of dimensions
in the requested unit (inches, mm, default[screen = 1/72 of inch]).
sourceraw docstring

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

× close