public interface RgbPixmapImageBuilder extends PixmapImageBuilder<RgbPixel>
Dimension.DimensionBuilder<B extends Dimension.DimensionBuilder<B>>, Dimension.DimensionMutator, Dimension.DimensionProperty, Dimension.DimensionPropertyBuilderWidthAccessor.WidthBuilder<B extends WidthAccessor.WidthBuilder<B>>, WidthAccessor.WidthMutator, WidthAccessor.WidthPropertyHeightAccessor.HeightBuilder<B extends HeightAccessor.HeightBuilder<B>>, HeightAccessor.HeightMutator, HeightAccessor.HeightProperty| Modifier and Type | Method and Description |
|---|---|
RgbPixmap |
toPixmap() |
default RgbPixmap |
toPixmap(File aImageFile) |
RgbPixmap |
toPixmap(InputStream aImageStream) |
RgbPixmap |
toPixmap(URL aImageUrl) |
PixmapImageBuilder<RgbPixel> |
withDimension(Dimension aDimension) |
PixmapImageBuilder<RgbPixel> |
withDimension(int aWidth,
int aHeight) |
PixmapImageBuilder<RgbPixel> |
withHeight(int aHeight)
Sets the height for the height property.
|
default RgbPixmapImageBuilder |
withImageFile(File aImageFile)
Sets the
File for retrieving the image data for the image
property |
default RgbPixmapImageBuilder |
withImageInputStream(InputStream aImageStream)
Sets the input stream for retrieving the image data for the image
property
|
default RgbPixmapImageBuilder |
withImageURL(URL aImageUrl)
Sets the
URL for retrieving the image data for the image property |
PixmapImageBuilder<RgbPixel> |
withWidth(int aWidth)
Sets the width for the width property.
|
setImageFile, setImageInputStream, setImageURLsetDimension, setDimensiongetWidthsetWidthgetHeightsetHeightPixmapImageBuilder<RgbPixel> withWidth(int aWidth)
WidthAccessor.WidthBuilderwithWidth in interface WidthAccessor.WidthBuilder<PixmapImageBuilder<RgbPixel>>aWidth - The width to be stored by the width property.PixmapImageBuilder<RgbPixel> withDimension(int aWidth, int aHeight)
withDimension in interface Dimension.DimensionBuilder<PixmapImageBuilder<RgbPixel>>PixmapImageBuilder<RgbPixel> withDimension(Dimension aDimension)
withDimension in interface Dimension.DimensionBuilder<PixmapImageBuilder<RgbPixel>>PixmapImageBuilder<RgbPixel> withHeight(int aHeight)
HeightAccessor.HeightBuilderwithHeight in interface HeightAccessor.HeightBuilder<PixmapImageBuilder<RgbPixel>>aHeight - The height to be stored by the height property.default RgbPixmapImageBuilder withImageInputStream(InputStream aImageStream)
PixmapImageBuilderwithImageInputStream in interface PixmapImageBuilder<RgbPixel>aImageStream - The image which's InputStream is to be stored
by the image InputStream property.default RgbPixmapImageBuilder withImageFile(File aImageFile) throws FileNotFoundException
PixmapImageBuilderFile for retrieving the image data for the image
propertywithImageFile in interface PixmapImageBuilder<RgbPixel>aImageFile - The image file which's InputStream is to be
stored by the image InputStream property.FileNotFoundException - in case the file was not found.default RgbPixmapImageBuilder withImageURL(URL aImageUrl)
PixmapImageBuilderURL for retrieving the image data for the image propertywithImageURL in interface PixmapImageBuilder<RgbPixel>RgbPixmap toPixmap()
toPixmap in interface BuildPixmap<RgbPixel>RgbPixmap toPixmap(InputStream aImageStream)
default RgbPixmap toPixmap(File aImageFile) throws FileNotFoundException
FileNotFoundExceptionCopyright © 2017. All rights reserved.