BuildPixmap<RgbPixel>
, Dimension
, Dimension.DimensionBuilder<PixmapImageBuilder<RgbPixel>>
, Dimension.DimensionMutator
, Dimension.DimensionProperty
, HeightAccessor
, HeightAccessor.HeightBuilder<PixmapImageBuilder<RgbPixel>>
, HeightAccessor.HeightMutator
, HeightAccessor.HeightProperty
, PixmapImageBuilder<RgbPixel>
, WidthAccessor
, WidthAccessor.WidthBuilder<PixmapImageBuilder<RgbPixel>>
, WidthAccessor.WidthMutator
, WidthAccessor.WidthProperty
RgbPixmapImageBuilderImpl
public interface RgbPixmapImageBuilder extends PixmapImageBuilder<RgbPixel>
Dimension.DimensionBuilder<B extends Dimension.DimensionBuilder<B>>, Dimension.DimensionMutator, Dimension.DimensionProperty, Dimension.DimensionPropertyBuilder
HeightAccessor.HeightBuilder<B extends HeightAccessor.HeightBuilder<B>>, HeightAccessor.HeightMutator, HeightAccessor.HeightProperty
WidthAccessor.WidthBuilder<B extends WidthAccessor.WidthBuilder<B>>, WidthAccessor.WidthMutator, WidthAccessor.WidthProperty
Modifier and Type | Method | 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(int aWidth,
int aHeight) |
With dimension.
|
PixmapImageBuilder<RgbPixel> |
withDimension(Dimension aDimension) |
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.
|
setDimension, setDimension
getHeight
setHeight
setImageFile, setImageInputStream, setImageURL
getWidth
setWidth
PixmapImageBuilder<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.