Package com.luciad.imaging
Class ALcdBasicImage.Configuration.Builder
java.lang.Object
com.luciad.imaging.ALcdImage.Configuration.Builder<ALcdBasicImage.Configuration.Builder>
com.luciad.imaging.ALcdBasicImage.Configuration.Builder
- Enclosing class:
ALcdBasicImage.Configuration
public static class ALcdBasicImage.Configuration.Builder
extends ALcdImage.Configuration.Builder<ALcdBasicImage.Configuration.Builder>
Builder for ALcdBasicImage.Configuration objects. Use
ALcdBasicImage.Configuration.newBuilder() to create a new configuration
from scratch, or ALcdBasicImage.Configuration.asBuilder() to copy and
modify an existing configuration.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a new configuration object using the current settings of the builder.height
(int aHeight) Sets the height in pixels of the image.samplingMode
(ELcdImageSamplingMode aSamplingMode) Sets the sampling mode of the image.tileHeight
(int aTileHeight) Sets the tile height in pixels of the image.tileWidth
(int aTileWidth) Sets the tile width in pixels of the image.width
(int aWidth) Sets the width in pixels of the image.Methods inherited from class com.luciad.imaging.ALcdImage.Configuration.Builder
bounds, imageReference, semantics
-
Method Details
-
build
Description copied from class:ALcdImage.Configuration.Builder
Builds a new configuration object using the current settings of the builder.- Specified by:
build
in classALcdImage.Configuration.Builder<ALcdBasicImage.Configuration.Builder>
- Returns:
- a new
Configuration
object
-
width
Sets the width in pixels of the image.- Parameters:
aWidth
- the width of the image in pixels- Returns:
- this builder
-
height
Sets the height in pixels of the image.- Parameters:
aHeight
- the height of the image in pixels- Returns:
- this builder
-
tileWidth
Sets the tile width in pixels of the image.- Parameters:
aTileWidth
- the tile width of the image in pixels- Returns:
- this builder
-
tileHeight
Sets the tile height in pixels of the image.- Parameters:
aTileHeight
- the tile height of the image in pixels- Returns:
- this builder
-
samplingMode
Sets the sampling mode of the image.- Parameters:
aSamplingMode
- the sampling mode- Returns:
- this builder
-