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)
With height.
|
RgbPixmapImageBuilder |
withWidth(int aWidth)
With width.
|
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)
Dimension.DimensionMutatorsetDimension in interface Dimension.DimensionMutatoraWidth - the a widthaHeight - the a heightpublic void setDimension(Dimension aDimension)
Dimension.DimensionMutatorsetDimension in interface Dimension.DimensionMutatoraDimension - the new dimensionpublic 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)
RgbPixmapImageBuilderwithDimension in interface Dimension.DimensionBuilder<PixmapImageBuilder<RgbPixel>>withDimension in interface RgbPixmapImageBuilderaWidth - the a widthaHeight - the a heightpublic RgbPixmapImageBuilder withDimension(Dimension aDimension)
RgbPixmapImageBuilderwithDimension in interface Dimension.DimensionBuilder<PixmapImageBuilder<RgbPixel>>withDimension in interface RgbPixmapImageBuilderaDimension - the a dimensionpublic RgbPixmapImageBuilder withWidth(int aWidth)
RgbPixmapImageBuilderwithWidth in interface RgbPixmapImageBuilderwithWidth in interface WidthAccessor.WidthBuilder<PixmapImageBuilder<RgbPixel>>aWidth - the a widthpublic RgbPixmapImageBuilder withHeight(int aHeight)
RgbPixmapImageBuilderwithHeight in interface HeightAccessor.HeightBuilder<PixmapImageBuilder<RgbPixel>>withHeight in interface RgbPixmapImageBuilderaHeight - the a heightpublic 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()
RgbPixmapImageBuildertoPixmap in interface BuildPixmap<RgbPixel>toPixmap in interface RgbPixmapImageBuilderpublic RgbPixmap toPixmap(URL aImageUrl)
RgbPixmapImageBuildertoPixmap in interface RgbPixmapImageBuilderaImageUrl - the a image urlpublic RgbPixmap toPixmap(InputStream aImageStream)
RgbPixmapImageBuildertoPixmap in interface RgbPixmapImageBuilderaImageStream - the a image streamprotected static RgbPixmap toPixmap(javafx.scene.image.Image aImage)
aImage - the a imageCopyright © 2017. All rights reserved.