| java.lang.Object org.jvnet.substance.watermark.SubstanceNoiseWatermark
All known Subclasses: org.jvnet.substance.watermark.SubstanceFabricWatermark, org.jvnet.substance.watermark.SubstancePlanktonWatermark, org.jvnet.substance.watermark.SubstanceMarbleVeinWatermark, org.jvnet.substance.watermark.SubstanceWoodWatermark, org.jvnet.substance.watermark.SubstanceCopperplateEngravingWatermark, org.jvnet.substance.watermark.SubstanceGenericNoiseWatermark, org.jvnet.substance.watermark.SubstanceMazeWatermark, org.jvnet.substance.watermark.SubstanceMagneticFieldWatermark,
SubstanceNoiseWatermark | public class SubstanceNoiseWatermark implements SubstanceWatermark(Code) | | Base class for noise-based watermarks. This class is part of officially
supported API.
author: Kirill Grouchnikov |
Constructor Summary | |
public | SubstanceNoiseWatermark(String displayName, double xFactor, double yFactor, boolean hasConstantZ, NoiseFilter noiseFilter, boolean toBlur) Creates a new noise-based watermark. |
displayName | protected String displayName(Code) | | Display name of this watermark.
|
hasConstantZ | protected boolean hasConstantZ(Code) | | Indicates whether this watermark is based on constant Z
values.
|
xFactor | protected double xFactor(Code) | | Factor along X axis.
|
yFactor | protected double yFactor(Code) | | Factor along Y axis.
|
SubstanceNoiseWatermark | public SubstanceNoiseWatermark(String displayName, double xFactor, double yFactor, boolean hasConstantZ, NoiseFilter noiseFilter, boolean toBlur)(Code) | | Creates a new noise-based watermark.
Parameters: displayName - Display name of this watermark. Parameters: xFactor - Factor along X axis. Parameters: yFactor - Factor along Y axis. Parameters: hasConstantZ - Indicates whether this watermark is based onconstant Z values. Parameters: noiseFilter - Noise filter of this watermark. Parameters: toBlur - Indicates whether the resulting image should be blurred. |
dispose | public void dispose()(Code) | | |
drawWatermarkImage | public void drawWatermarkImage(Graphics graphics, Component c, int x, int y, int width, int height)(Code) | | |
isDependingOnTheme | public boolean isDependingOnTheme()(Code) | | |
previewWatermark | public void previewWatermark(Graphics g, int x, int y, int width, int height)(Code) | | |
updateWatermarkImage | public boolean updateWatermarkImage()(Code) | | |
|
|