ibm_ilog.diagram.util.PrintUtil (version 1.1-SNAPSHOT)
Object » ibm_ilog.diagram.util.PrintUtil
dojo.require("ibm_ilog.diagram.util.PrintUtil");
Method Summary
- constructor(kwArgs)
- printGraph(graph, bounding, width, height, pagesWidth, pagesHeight, paperColor) graph to be separated into multiple surfaces
- printViewport(diagram, width, height, pagesWidth, pagesHeight, paperColor) diagram which viewport will be separated into multiple surfaces
Methods
graph to be separated into multiple surfaces
Parameter | Type | Description |
---|---|---|
graph | the | graph to be separated into multiple surfaces |
bounding | [Rect] | indicates the area to be show. If missing, the complete graph is shown |
width | the | width in pixels of every single surface |
height | the | height in pixels of every single surface |
pagesWidth | the | amount of horizontal surfaces into be split |
pagesHeight | the | amount of vertical surfaces into be split |
paperColor | [Color] | this paperColor is used to hide not required part of the graph, when the target area has different aspect ratio than the source bounding. If missing, white is used as default color. |
diagram which viewport will be separated into multiple surfaces
Parameter | Type | Description |
---|---|---|
diagram | the | diagram which viewport will be separated into multiple surfaces |
width | the | width in pixels of every single surface |
height | the | height in pixels of every single surface |
pagesWidth | the | amount of horizontal surfaces into be split |
pagesHeight | the | amount of vertical surfaces into be split |
paperColor | [Color] | this paperColor is used to hide not required part of the graph, when the target area has different aspect ratio than the source bounding. If missing, white is used as default color. |