public interface Paper
PaperType
Modifier and Type | Method and Description |
---|---|
boolean |
canMerge()
Indicates whether this Paper instance is capable of splitting and
merging to facilitate parallel processing.
|
Paper |
createSheet()
Returns a blank Paper instance that is compatible with this one.
|
PaperType |
getPaperType()
Returns the PaperType which generated and can write to this paper.
|
void |
mergeSheet(Paper sheet)
Merges the contents of a compatible paper instance with this one.
|
PaperType getPaperType()
boolean canMerge()
createSheet()
and mergeSheet
methods
may be used.Paper createSheet()
May only be invoked if canMerge()
returns true.
void mergeSheet(Paper sheet)
createSheet()
on this instance or on a
compatible instance.
The effect is as if everything that has been painted to the supplied sheet will now be painted on this one.
This is intended for use in parallelising painting of a
large number of 2D or 3D Glyph
s.
Merging papers on which Decal
s
have been placed may or may not work.
May only be invoked if canMerge()
returns true.
sheet
- compatible paper instanceCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.