APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.scenario.effect.impl.prism

public Class PrImage

extends Object
implements Filterable
Class Inheritance
All Implemented Interfaces
com.sun.scenario.effect.Filterable, com.sun.scenario.effect.LockableResource
Imports
com.sun.prism.Image, com.sun.scenario.effect.Filterable

This is a special class that is only used for the purposes of converting a Prism image (from Image.platformImage) into a Filterable (see PrismToolkit.toFilterable()) that can then be passed to PrRenderer.createImageData(). All of this is only used by the Identity effect; eventually we should figure out a more straightforward solution.

Field Summary

Modifier and TypeField and Description
private final Image

Constructor Summary

AccessConstructor and Description
private
PrImage(Image image)

Method Summary

Modifier and TypeMethod and Description
public static PrImage
create(Image image)

public void
public int
public int
public Object
public Image
public int
public int
public int
public int
public float
public boolean
public void
public void
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

imageback to summary
private final Image image

Constructor Detail

PrImageback to summary
private PrImage(Image image)

Method Detail

createback to summary
public static PrImage create(Image image)
flushback to summary
public void flush()

Implements com.sun.scenario.effect.Filterable.flush.

Annotations
@Override
getContentHeightback to summary
public int getContentHeight()

Implements com.sun.scenario.effect.Filterable.getContentHeight.

Annotations
@Override
getContentWidthback to summary
public int getContentWidth()

Implements com.sun.scenario.effect.Filterable.getContentWidth.

Annotations
@Override
getDataback to summary
public Object getData()

Implements com.sun.scenario.effect.Filterable.getData.

Annotations
@Override
getImageback to summary
public Image getImage()
getMaxContentHeightback to summary
public int getMaxContentHeight()

Implements com.sun.scenario.effect.Filterable.getMaxContentHeight.

Annotations
@Override
getMaxContentWidthback to summary
public int getMaxContentWidth()

Implements com.sun.scenario.effect.Filterable.getMaxContentWidth.

Annotations
@Override
getPhysicalHeightback to summary
public int getPhysicalHeight()

Implements com.sun.scenario.effect.Filterable.getPhysicalHeight.

Annotations
@Override
getPhysicalWidthback to summary
public int getPhysicalWidth()

Implements com.sun.scenario.effect.Filterable.getPhysicalWidth.

Annotations
@Override
getPixelScaleback to summary
public float getPixelScale()

Implements com.sun.scenario.effect.Filterable.getPixelScale.

Annotations
@Override
isLostback to summary
public boolean isLost()

Implements com.sun.scenario.effect.LockableResource.isLost.

Annotations
@Override
lockback to summary
public void lock()

Implements com.sun.scenario.effect.LockableResource.lock.

Annotations
@Override
setContentHeightback to summary
public void setContentHeight(int contentH)

Implements com.sun.scenario.effect.Filterable.setContentHeight.

Annotations
@Override
setContentWidthback to summary
public void setContentWidth(int contentW)

Implements com.sun.scenario.effect.Filterable.setContentWidth.

Annotations
@Override
unlockback to summary
public void unlock()

Implements com.sun.scenario.effect.LockableResource.unlock.

Annotations
@Override