All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class merlin.filter.NormFilter

java.lang.Object
   |
   +----merlin.filter.Filter
           |
           +----merlin.filter.NormFilter

public class NormFilter
extends Filter
A normalizing filter. The character is normalized to fit into a fixed square

Version:
1.0
Author:
Stefan Hellkvist

Constructor Index

 o NormFilter(int, int)
Constructor

Method Index

 o apply(Pattern)
You apply a filter to a pattern and get a new pattern

Constructors

 o NormFilter
 public NormFilter(int width,
                   int height)
Constructor

Parameters:
width - The width of the new area the char will be squezed into
height - The height of the new area the char will be squezed into

Methods

 o apply
 public Pattern apply(Pattern pat)
You apply a filter to a pattern and get a new pattern

Parameters:
p - The pattern to apply the filter on
Returns:
A new Pattern
Overrides:
apply in class Filter

All Packages  Class Hierarchy  This Package  Previous  Next  Index