SampleModel with the specified width and height that has a data layout compatible with this ColorModel.
@param w the width to apply to the new SampleModel
@param h the height to apply to the new SampleModel
@return a SampleModel object with the specifiedwidth and height.
@throws IllegalArgumentException if w orh is not greater than 0
@see SampleModel
SampleModel describing the same imagedata as this SampleModel, but with a different size.
SampleModel with the specified width and height that has a data layout compatible with this ColorModel. Since ColorModel is an abstract class, any instance is an instance of a subclass. Subclasses must override this method since the implementation in this abstract class throws an UnsupportedOperationException.
@param w the width to apply to the new SampleModel
@param h the height to apply to the new SampleModel
@return a SampleModel object with the specifiedwidth and height.
@throws UnsupportedOperationException if thismethod is not supported by this ColorModel
@see SampleModel
SampleModel with the specified width and height, that has a data layout compatible with this ColorModel.
@param w The width of the SampleModel you want to create.
@param h The height of the SampleModel you want to create.
@return A SampleModel that is compatible with thisColorModel.
@see SampleModel
ComponentSampleModel with the specified width and height. The new SampleModel will have the same number of bands, storage data type, interleaving scheme, and pixel stride as this SampleModel.
@param w the width of the resulting SampleModel
@param h the height of the resulting SampleModel
@return a new ComponentSampleModel with the specified size
@throws IllegalArgumentException if w orh is not greater than 0
SampleModel with the specified width and height that has a data layout compatible with this ColorModel.
@param w the width to apply to the new SampleModel
@param h the height to apply to the new SampleModel
@return a SampleModel object with the specifiedwidth and height.
@throws IllegalArgumentException if w orh is not greater than 0
@see SampleModel
SampleModel describing the same imagedata as this SampleModel, but with a different size.
| |
| |
| |
| |
| |
| |
| |