Top Description Constructors Methods
com.sun.javafx.iio.common

public Class ScalerFactory

extends Object
Class Inheritance

Factory class for creating PushbroomScaler instances.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static PushbroomScaler
createScaler(int
The source image width
sourceWidth
,
int
The source image height
sourceHeight
,
int
The number of components per pixel in the images
numBands
,
int
The destination image width
destWidth
,
int
The destination image height
destHeight
,
boolean isSmooth)

Instantiates a new PushbroomScaler object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ScalerFactoryback to summary
private ScalerFactory()

Method Detail

createScalerback to summary
public static PushbroomScaler createScaler(int sourceWidth, int sourceHeight, int numBands, int destWidth, int destHeight, boolean isSmooth)

Instantiates a new PushbroomScaler object.

Parameters
sourceWidth:int

The source image width

sourceHeight:int

The source image height

numBands:int

The number of components per pixel in the images

destWidth:int

The destination image width

destHeight:int

The destination image height

Exceptions
IllegalArgumentException:
if any of the integral parameters is non-positive.