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`.
(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.
(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.
(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.
(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.
(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.
(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
(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.
(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.
(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.
(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.
(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.
(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.
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]).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close