Example usage for java.awt.image.renderable ParameterBlock getRenderedSource

List of usage examples for java.awt.image.renderable ParameterBlock getRenderedSource

Introduction

In this page you can find the example usage for java.awt.image.renderable ParameterBlock getRenderedSource.

Prototype

public RenderedImage getRenderedSource(int index) 

Source Link

Document

Returns a source as a RenderedImage .

Usage

From source file:CheckAlignmentRIF.java

public RenderedImage create(ParameterBlock paramBlock, RenderingHints renderingHints) {

    RenderedImage source1 = paramBlock.getRenderedSource(0);
    RenderedImage source2 = paramBlock.getRenderedSource(1);
    int samplingPeriod = paramBlock.getIntParameter(0);
    ImageLayout layout = null;//from w  w  w .j  a  va2 s . c o m
    return new CheckAlignmentOpImage(source1, source2, samplingPeriod, layout, renderingHints, false);
}