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
-
NormFilter(int, int)
-
Constructor
-
apply(Pattern)
- You apply a filter to a pattern and get a new pattern
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
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