public class ClipRable8Bit extends AbstractRable implements ClipRable
| Modifier and Type | Field and Description |
|---|---|
protected Shape |
clipPath
The node who's outline specifies our mask.
|
protected boolean |
useAA |
props, srcs, stampHINTS_OBSERVED| Constructor and Description |
|---|
ClipRable8Bit(Filter src,
Shape clipPath) |
ClipRable8Bit(Filter src,
Shape clipPath,
boolean useAA) |
| Modifier and Type | Method and Description |
|---|---|
RenderedImage |
createRendering(RenderContext rc) |
Rectangle2D |
getBounds2D()
Pass-through: returns the source's bounds
|
Shape |
getClipPath()
Returns the Shape that the cliprable will use to
define the clip path.
|
Filter |
getSource()
This returns the current image being masked by the mask node.
|
boolean |
getUseAntialiasedClip()
Resturns true if the default behaviour should be to use
anti-aliased clipping.
|
void |
setClipPath(Shape clipPath)
Set the clip path to use.
|
void |
setSource(Filter src)
The source to be masked by the mask node.
|
void |
setUseAntialiasedClip(boolean useAA)
Set the default behaviour of anti-aliased clipping.
|
createDefaultRendering, createScaledRendering, getDependencyRegion, getDirtyRegion, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getTimeStamp, getWidth, init, init, init, init, isDynamic, touchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDependencyRegion, getDirtyRegion, getTimeStampcreateDefaultRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamicprotected boolean useAA
protected Shape clipPath
public void setSource(Filter src)
public Filter getSource()
public void setUseAntialiasedClip(boolean useAA)
setUseAntialiasedClip in interface ClipRablepublic boolean getUseAntialiasedClip()
getUseAntialiasedClip in interface ClipRablepublic void setClipPath(Shape clipPath)
setClipPath in interface ClipRableclipPath - The clip path to usepublic Shape getClipPath()
getClipPath in interface ClipRablepublic Rectangle2D getBounds2D()
getBounds2D in interface FiltergetBounds2D in class AbstractRablepublic RenderedImage createRendering(RenderContext rc)
createRendering in interface RenderableImageCopyright © 2000–2024 Apache Software Foundation. All rights reserved.