- java.lang.Object
-
- org.praxislive.video.render.ops.ScaledBlit
-
-
Constructor Summary
Constructors Constructor Description ScaledBlit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlendMode
getBlendMode()
Rectangle
getDestinationRegion(Rectangle rect)
double
getOpacity()
Rectangle
getSourceRegion(Rectangle rect)
boolean
hasDestinationRegion()
boolean
hasSourceRegion()
void
process(PixelData output, PixelData... inputs)
ScaledBlit
setBlendMode(BlendMode blendMode)
ScaledBlit
setDestinationRegion(int x, int y, int width, int height)
ScaledBlit
setDestinationRegion(Rectangle rect)
ScaledBlit
setOpacity(double opacity)
ScaledBlit
setSourceRegion(int x, int y, int width, int height)
ScaledBlit
setSourceRegion(Rectangle rect)
-
-
-
Method Detail
-
setSourceRegion
public ScaledBlit setSourceRegion(Rectangle rect)
-
setSourceRegion
public ScaledBlit setSourceRegion(int x, int y, int width, int height)
-
hasSourceRegion
public boolean hasSourceRegion()
-
setDestinationRegion
public ScaledBlit setDestinationRegion(Rectangle rect)
-
setDestinationRegion
public ScaledBlit setDestinationRegion(int x, int y, int width, int height)
-
hasDestinationRegion
public boolean hasDestinationRegion()
-
setBlendMode
public ScaledBlit setBlendMode(BlendMode blendMode)
-
getBlendMode
public BlendMode getBlendMode()
-
setOpacity
public ScaledBlit setOpacity(double opacity)
-
getOpacity
public double getOpacity()
-
-