public class RgbPixmapImageBuilderImpl extends Object implements RgbPixmapImageBuilder
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| Constructor and Description |
|---|
RgbPixmapImageBuilderImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Retrieves the height from the height property.
|
int |
getWidth()
Retrieves the width from the width property.
|
void |
setDimension(Dimension aDimension)
Sets the dimension.
|
void |
setDimension(int aWidth,
int aHeight)
Sets the dimension.
|
void |
setHeight(int aHeight)
Sets the height for the height property.
|
void |
setImageInputStream(InputStream aImageStream)
Sets the
InputStream for retrieving the image data for the image
property. |
void |
setImageURL(URL aImageUrl)
Sets the
URL for retrieving the image data for the image
property. |
void |
setWidth(int aWidth)
Sets the width for the width property.
|
RgbPixmap |
toPixmap()
To pixmap.
|
protected static RgbPixmap |
toPixmap(javafx.scene.image.Image aImage)
To pixmap.
|
RgbPixmap |
toPixmap(InputStream aImageStream)
To pixmap.
|
RgbPixmap |
toPixmap(URL aImageUrl)
To pixmap.
|
RgbPixmapImageBuilder |
withDimension(Dimension aDimension)
With dimension.
|
RgbPixmapImageBuilder |
withDimension(int aWidth,
int aHeight)
With dimension.
|
RgbPixmapImageBuilder |
withHeight(int aHeight)
Sets the height for the height property.
|
RgbPixmapImageBuilder |
withWidth(int aWidth)
Sets the width for the width property.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoPixmap, withImageFile, withImageInputStream, withImageURLsetImageFilepublic int getWidth()
getWidth in interface WidthAccessorpublic int getHeight()
getHeight in interface HeightAccessorpublic void setDimension(int aWidth,
int aHeight)
setDimension in interface Dimension.DimensionMutatoraWidth - the widthaHeight - the heightpublic void setDimension(Dimension aDimension)
setDimension in interface Dimension.DimensionMutatoraDimension - the new dimensionpublic void setWidth(int aWidth)
setWidth in interface WidthAccessor.WidthMutatoraWidth - The width to be stored by the width property.public void setHeight(int aHeight)
setHeight in interface HeightAccessor.HeightMutatoraHeight - The height to be stored by the height property.public RgbPixmapImageBuilder withDimension(int aWidth, int aHeight)
withDimension in interface Dimension.DimensionBuilder<PixmapImageBuilder<RgbPixel>>withDimension in interface RgbPixmapImageBuilderaWidth - the widthaHeight - the heightpublic RgbPixmapImageBuilder withDimension(Dimension aDimension)
withDimension in interface Dimension.DimensionBuilder<PixmapImageBuilder<RgbPixel>>withDimension in interface RgbPixmapImageBuilderaDimension - the dimensionpublic RgbPixmapImageBuilder withWidth(int aWidth)
withWidth in interface RgbPixmapImageBuilderwithWidth in interface WidthAccessor.WidthBuilder<PixmapImageBuilder<RgbPixel>>aWidth - The width to be stored by the width property.public RgbPixmapImageBuilder withHeight(int aHeight)
withHeight in interface HeightAccessor.HeightBuilder<PixmapImageBuilder<RgbPixel>>withHeight in interface RgbPixmapImageBuilderaHeight - The height to be stored by the height property.public void setImageInputStream(InputStream aImageStream)
InputStream for retrieving the image data for the image
property.setImageInputStream in interface PixmapImageBuilder<RgbPixel>aImageStream - The image which's InputStream is to be stored
by the image InputStream property.public void setImageURL(URL aImageUrl)
URL for retrieving the image data for the image
property.setImageURL in interface PixmapImageBuilder<RgbPixel>aImageUrl - The image which's URL is to be stored by the
image URL property.public RgbPixmap toPixmap()
toPixmap in interface BuildPixmap<RgbPixel>toPixmap in interface RgbPixmapImageBuilderpublic RgbPixmap toPixmap(URL aImageUrl)
toPixmap in interface RgbPixmapImageBuilderaImageUrl - the image urlpublic RgbPixmap toPixmap(InputStream aImageStream)
toPixmap in interface RgbPixmapImageBuilderaImageStream - the image streamprotected static RgbPixmap toPixmap(javafx.scene.image.Image aImage)
aImage - the imageCopyright © 2018. All rights reserved.