com.tensegrity.graphics.image
Class RasterOperations

java.lang.Object
  extended bycom.tensegrity.graphics.image.RasterOperations

public class RasterOperations
extends java.lang.Object

The RasterOperations class provides some basic functionalities used when working with Rasters

Version:
$Id: RasterOperations.java,v 1.4 2004/02/18 08:53:23 MichaelKegel Exp $
Author:
MichaelKegel

Method Summary
static int blend(int[] rgbs, int sx, int sy)
          Calculates the blend value for the four pixel stored within the array given by rgbs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

blend

public static int blend(int[] rgbs,
                        int sx,
                        int sy)
Calculates the blend value for the four pixel stored within the array given by rgbs.

Parameters:
rgbs - the array with the four pixels to calculate the blend value for
sx - the scale factor in x direction
sy - the scale factor in y direction
Returns:
int the calculated blend value


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.