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) |
void |
setDimension(int aWidth,
int aHeight) |
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() |
protected static RgbPixmap |
toPixmap(javafx.scene.image.Image aImage) |
RgbPixmap |
toPixmap(InputStream aImageStream) |
RgbPixmap |
toPixmap(URL aImageUrl) |
RgbPixmapImageBuilder |
withDimension(Dimension aDimension) |
RgbPixmapImageBuilder |
withDimension(int aWidth,
int aHeight) |
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()
WidthAccessorgetWidth in interface WidthAccessorpublic int getHeight()
HeightAccessorgetHeight in interface HeightAccessorpublic void setDimension(int aWidth,
int aHeight)
setDimension in interface Dimension.DimensionMutatorpublic void setDimension(Dimension aDimension)
setDimension in interface Dimension.DimensionMutatorpublic void setWidth(int aWidth)
WidthAccessor.WidthMutatorsetWidth in interface WidthAccessor.WidthMutatoraWidth - The width to be stored by the width property.public void setHeight(int aHeight)
HeightAccessor.HeightMutatorsetHeight 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 RgbPixmapImageBuilderpublic RgbPixmapImageBuilder withDimension(Dimension aDimension)
withDimension in interface Dimension.DimensionBuilder<PixmapImageBuilder<RgbPixel>>withDimension in interface RgbPixmapImageBuilderpublic RgbPixmapImageBuilder withWidth(int aWidth)
WidthAccessor.WidthBuilderwithWidth in interface RgbPixmapImageBuilderwithWidth in interface WidthAccessor.WidthBuilder<PixmapImageBuilder<RgbPixel>>aWidth - The width to be stored by the width property.public RgbPixmapImageBuilder withHeight(int aHeight)
HeightAccessor.HeightBuilderwithHeight in interface HeightAccessor.HeightBuilder<PixmapImageBuilder<RgbPixel>>withHeight in interface RgbPixmapImageBuilderaHeight - The height to be stored by the height property.public void setImageInputStream(InputStream aImageStream)
PixmapImageBuilderInputStream 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)
PixmapImageBuilderURL 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 RgbPixmapImageBuilderpublic RgbPixmap toPixmap(InputStream aImageStream)
toPixmap in interface RgbPixmapImageBuilderprotected static RgbPixmap toPixmap(javafx.scene.image.Image aImage)
Copyright © 2017. All rights reserved.