Modifier and Type | Field and Description |
---|---|
static PaperTypeSelector |
SELECTOR_2D
Default selector for 2d output.
|
static PaperTypeSelector |
SELECTOR_3D
Default selector for 3d output.
|
Constructor and Description |
---|
PaperTypeSelector() |
Modifier and Type | Method and Description |
---|---|
static PaperTypeSelector |
createSingleSelector(PaperType ptype)
Returns a selector which always returns a fixed paper type.
|
static LayerOpt[] |
getOpts(PlotLayer[] layers)
Returns an array of layer options corresponding to an array of layers.
|
abstract PaperType |
getPixelPaperType(LayerOpt[] opts,
Compositor compositor)
Supplies a PaperType appropriate for rendering to a bitmap
(pixellated) output medium.
|
abstract PaperType |
getVectorPaperType(LayerOpt[] opts)
Supplies a PaperType appropriate for rendering to a vector
(non-pixellated) output medium.
|
public static PaperTypeSelector SELECTOR_2D
public static PaperTypeSelector SELECTOR_3D
public abstract PaperType getVectorPaperType(LayerOpt[] opts)
opts
- layer optionspublic abstract PaperType getPixelPaperType(LayerOpt[] opts, Compositor compositor)
opts
- layer optionscompositor
- compositor for combining colours (relevant only
if some transparency is present)public static PaperTypeSelector createSingleSelector(PaperType ptype)
ptype
- fixed paper typeCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.