public class SampleImage extends Object implements Serializable
Constructor and Description |
---|
SampleImage(SampleModel sampleModel,
ColorModel colorModel)
Builds a new sample image
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
toBufferedImage()
Builds a 1x1 BufferedImage with the provided sample model and color model
|
public SampleImage(SampleModel sampleModel, ColorModel colorModel)
sampleModel
- colorModel
- public BufferedImage toBufferedImage()
Copyright © 1996–2019 Geotools. All rights reserved.