public class ImageData extends Object
Image
and the valid source
region thereof. Instances of ImageData
can be used as the input
or output from an EffectPeer
.
Instances of this class must be validated against the FilterContext
it intended to be used with using
validate(com.sun.scenario.effect.FilterContext)
method.Constructor and Description |
---|
ImageData(FilterContext fctx,
Filterable image,
Rectangle bounds) |
ImageData(FilterContext fctx,
Filterable image,
Rectangle bounds,
BaseTransform transform) |
Modifier and Type | Method and Description |
---|---|
boolean |
addref() |
FilterContext |
getFilterContext() |
int |
getReferenceCount() |
BaseTransform |
getTransform() |
Rectangle |
getTransformedBounds(Rectangle clip) |
Filterable |
getTransformedImage(Rectangle clip) |
Rectangle |
getUntransformedBounds() |
Filterable |
getUntransformedImage() |
void |
releaseTransformedImage(Filterable tximage) |
void |
setReusable(boolean reusable) |
String |
toString() |
ImageData |
transform(BaseTransform concattx) |
void |
unref() |
boolean |
validate(FilterContext fctx)
Validates this image data for the use with the passed
FilterContext . |
public ImageData(FilterContext fctx, Filterable image, Rectangle bounds)
public ImageData(FilterContext fctx, Filterable image, Rectangle bounds, BaseTransform transform)
public ImageData transform(BaseTransform concattx)
public void setReusable(boolean reusable)
public FilterContext getFilterContext()
public Filterable getUntransformedImage()
public Rectangle getUntransformedBounds()
public BaseTransform getTransform()
public Filterable getTransformedImage(Rectangle clip)
public void releaseTransformedImage(Filterable tximage)
public int getReferenceCount()
public boolean addref()
public void unref()
public boolean validate(FilterContext fctx)
FilterContext
.fctx
- context to validate againsttrue
if this object is valid and compatible with
the passed FilterContext
, false
otherwise.Copyright © 2020. All rights reserved.