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()
To pixmap.
|
default RgbPixmap |
toPixmap(File aImageFile)
To pixmap.
|
RgbPixmap |
toPixmap(InputStream aImageStream)
To pixmap.
|
RgbPixmap |
toPixmap(URL aImageUrl)
To pixmap.
|
PixmapImageBuilder<RgbPixel> |
withDimension(Dimension aDimension)
With dimension.
|
PixmapImageBuilder<RgbPixel> |
withDimension(int aWidth,
int aHeight)
With dimension.
|
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)
withWidth 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>>aWidth - the widthaHeight - the heightPixmapImageBuilder<RgbPixel> withDimension(Dimension aDimension)
withDimension in interface Dimension.DimensionBuilder<PixmapImageBuilder<RgbPixel>>aDimension - the dimensionPixmapImageBuilder<RgbPixel> withHeight(int aHeight)
withHeight in interface HeightAccessor.HeightBuilder<PixmapImageBuilder<RgbPixel>>aHeight - The height to be stored by the height property.default RgbPixmapImageBuilder withImageInputStream(InputStream aImageStream)
withImageInputStream 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
File for retrieving the image data for the image
property.withImageFile 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)
URL for retrieving the image data for the image
property.withImageURL in interface PixmapImageBuilder<RgbPixel>aImageUrl - the URLRgbPixmap toPixmap()
toPixmap in interface BuildPixmap<RgbPixel>RgbPixmap toPixmap(URL aImageUrl)
aImageUrl - the image urlRgbPixmap toPixmap(InputStream aImageStream)
aImageStream - the image streamdefault RgbPixmap toPixmap(File aImageFile) throws FileNotFoundException
aImageFile - the image fileFileNotFoundException - the file not found exceptionCopyright © 2018. All rights reserved.