Package | Description |
---|---|
com.sun.prism | |
com.sun.prism.image | |
com.sun.prism.impl | |
com.sun.prism.impl.ps | |
com.sun.prism.paint | |
com.sun.scenario.effect.impl.prism |
Modifier and Type | Method and Description |
---|---|
static Image |
Image.convertImageFrame(ImageFrame frame) |
Image |
Image.createPackedCopy()
Returns a new
Image instance with a newly allocated pixel
buffer that contains a tightly packed copy of this image's pixels. |
Image |
Image.createPackedCopyIfNeeded()
Returns a
Image instance with a newly allocated pixel
buffer that contains a tightly packed copy of this image's pixels or
if this image is already tightly packed, itself. |
Image |
Image.createSubImage(int x,
int y,
int w,
int h)
Returns a new
Image instance that shares the underlying pixel
buffer of this Image . |
static Image |
Image.fromByteAlphaData(byte[] pixels,
int width,
int height) |
static Image |
Image.fromByteAlphaData(ByteBuffer pixels,
int width,
int height) |
static Image |
Image.fromByteAlphaData(ByteBuffer pixels,
int width,
int height,
int scanlineStride) |
static Image |
Image.fromByteApple422Data(byte[] pixels,
int width,
int height) |
static Image |
Image.fromByteApple422Data(ByteBuffer pixels,
int width,
int height) |
static Image |
Image.fromByteApple422Data(ByteBuffer pixels,
int width,
int height,
int scanlineStride) |
static Image |
Image.fromByteBgraPreData(byte[] pixels,
int width,
int height) |
static Image |
Image.fromByteBgraPreData(byte[] pixels,
int width,
int height,
float pixelScale) |
static Image |
Image.fromByteBgraPreData(ByteBuffer pixels,
int width,
int height) |
static Image |
Image.fromByteBgraPreData(ByteBuffer pixels,
int width,
int height,
int scanlineStride) |
static Image |
Image.fromByteBgraPreData(ByteBuffer pixels,
int width,
int height,
int scanlineStride,
float pixelScale) |
static Image |
Image.fromByteGrayData(byte[] pixels,
int width,
int height) |
static Image |
Image.fromByteGrayData(ByteBuffer pixels,
int width,
int height) |
static Image |
Image.fromByteGrayData(ByteBuffer pixels,
int width,
int height,
int scanlineStride) |
static Image |
Image.fromByteGrayData(ByteBuffer pixels,
int width,
int height,
int scanlineStride,
float pixelScale) |
static Image |
Image.fromByteRgbData(byte[] pixels,
int width,
int height) |
static Image |
Image.fromByteRgbData(ByteBuffer pixels,
int width,
int height) |
static Image |
Image.fromByteRgbData(ByteBuffer pixels,
int width,
int height,
int scanlineStride) |
static Image |
Image.fromByteRgbData(ByteBuffer pixels,
int width,
int height,
int scanlineStride,
float pixelScale) |
static Image |
Image.fromFloatMapData(FloatBuffer pixels,
int width,
int height) |
static Image |
Image.fromIntArgbPreData(int[] pixels,
int width,
int height) |
static Image |
Image.fromIntArgbPreData(IntBuffer pixels,
int width,
int height) |
static Image |
Image.fromIntArgbPreData(IntBuffer pixels,
int width,
int height,
int scanlineStride) |
static Image |
Image.fromIntArgbPreData(IntBuffer pixels,
int width,
int height,
int scanlineStride,
float pixelScale) |
Image |
TextureMap.getImage() |
Image |
Image.iconify(ByteBuffer iconBuffer,
int twidth,
int theight) |
Image |
Image.promoteByteRgbToByteBgra() |
Modifier and Type | Method and Description |
---|---|
Texture |
ResourceFactory.createTexture(Image image,
Texture.Usage usageHint,
Texture.WrapMode wrapMode)
Returns a new
Texture containing the pixels from the given
image with the indicated texture edge wrap mode. |
Texture |
ResourceFactory.createTexture(Image image,
Texture.Usage usageHint,
Texture.WrapMode wrapMode,
boolean useMipmap)
Returns a new
Texture containing the pixels from the given
image with the indicated texture edge wrap mode. |
Texture |
ResourceFactory.getCachedTexture(Image image,
Texture.WrapMode wrapMode)
Returns a
Texture for the given image set up to use or
simulate the indicated wrap mode. |
Texture |
ResourceFactory.getCachedTexture(Image image,
Texture.WrapMode wrapMode,
boolean useMipmap)
Returns a
Texture for the given image set up to use or
simulate the indicated wrap mode. |
void |
TextureMap.setImage(Image image) |
void |
Texture.update(Image img)
Updates this texture using the contents of the given
Image . |
void |
MultiTexture.update(Image img) |
void |
Texture.update(Image img,
int dstx,
int dsty)
Updates this texture using the contents of the given
Image . |
void |
MultiTexture.update(Image img,
int dstx,
int dsty) |
void |
Texture.update(Image img,
int dstx,
int dsty,
int srcw,
int srch)
Updates this texture using the contents of the given
Image . |
void |
MultiTexture.update(Image img,
int dstx,
int dsty,
int srcw,
int srch) |
void |
Texture.update(Image img,
int dstx,
int dsty,
int srcw,
int srch,
boolean skipFlush)
Updates this texture using the contents of the given
Image . |
void |
MultiTexture.update(Image img,
int dstx,
int dsty,
int srcw,
int srch,
boolean skipFlush) |
Modifier and Type | Field and Description |
---|---|
protected Image[] |
CompoundImage.tiles |
Constructor and Description |
---|
CachingCompoundImage(Image image,
int maxSize) |
CompoundImage(Image image,
int maxSize) |
CompoundImage(Image image,
int maxSize,
int borderSize) |
CompoundTexture(Image image,
int maxSize) |
Modifier and Type | Method and Description |
---|---|
Texture |
BaseResourceFactory.createTexture(Image image,
Texture.Usage usageHint,
Texture.WrapMode wrapMode) |
Texture |
BaseResourceFactory.createTexture(Image image,
Texture.Usage usageHint,
Texture.WrapMode wrapMode,
boolean useMipmap) |
Texture |
BaseResourceFactory.getCachedTexture(Image image,
Texture.WrapMode wrapMode) |
Texture |
BaseResourceFactory.getCachedTexture(Image image,
Texture.WrapMode wrapMode,
boolean useMipmap) |
void |
BaseTexture.update(Image img) |
void |
BaseTexture.update(Image img,
int dstx,
int dsty) |
void |
BaseTexture.update(Image img,
int dstx,
int dsty,
int w,
int h) |
void |
BaseTexture.update(Image img,
int dstx,
int dsty,
int srcw,
int srch,
boolean skipFlush) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseResourceFactory.clearTextureCache(Map<Image,Texture> texCache) |
Constructor and Description |
---|
BaseResourceFactory(Map<Image,Texture> clampTexCache,
Map<Image,Texture> repeatTexCache,
Map<Image,Texture> mipmapTexCache) |
BaseResourceFactory(Map<Image,Texture> clampTexCache,
Map<Image,Texture> repeatTexCache,
Map<Image,Texture> mipmapTexCache) |
BaseResourceFactory(Map<Image,Texture> clampTexCache,
Map<Image,Texture> repeatTexCache,
Map<Image,Texture> mipmapTexCache) |
Constructor and Description |
---|
BaseShaderFactory(Map<Image,Texture> clampTexCache,
Map<Image,Texture> repeatTexCache,
Map<Image,Texture> mipmapTexCache) |
BaseShaderFactory(Map<Image,Texture> clampTexCache,
Map<Image,Texture> repeatTexCache,
Map<Image,Texture> mipmapTexCache) |
BaseShaderFactory(Map<Image,Texture> clampTexCache,
Map<Image,Texture> repeatTexCache,
Map<Image,Texture> mipmapTexCache) |
Modifier and Type | Method and Description |
---|---|
Image |
ImagePattern.getImage() |
Constructor and Description |
---|
ImagePattern(Image image,
float x,
float y,
float width,
float height,
boolean proportional,
boolean isMutable) |
Modifier and Type | Method and Description |
---|---|
Image |
PrImage.getImage() |
Modifier and Type | Method and Description |
---|---|
static PrImage |
PrImage.create(Image image) |
Copyright © 2020. All rights reserved.