Methods | Fields | This Package | All Packages

RasterOp Class

Encapsulates a Win32 raster operation.

package com.ms.wfc.ui

public class RasterOp

Remarks

A raster operation refers to a series of boolean operations that you can apply to bitmaps, brushes, and pens.

Suppose, for example, that you have two identical images, one of which is black and white (monochrome), and the other in color. Suppose further that you want to write the monochrome image to the colored one, but do not want the white pixels in the source image to overwrite their counterparts in the destination. Raster operations enable you to use boolean logic to make such changes.

Generally, you build a raster operation using a combination of a series of simple operations and boolean logic.