1 package mhr.appcore.image.layers;
3 import org.w3c.dom.Document;
4 import org.w3c.dom.Element;
6 import mhr.appcore.bitmap.BitmapInfo;
7 import mhr.appcore.bitmap.ChannelCount;
8 import mhr.appcore.bitmap.ColorMode;
9 import mhr.appcore.bitmap.NBitmap;
10 import mhr.appcore.bitmap.exceptions.BitmapAllocationException;
11 import mhr.appcore.bitmap.exceptions.UnsupportedBitmapException;
12 import mhr.appcore.blending.BlendMode;
13 import mhr.appcore.blending.Blender;
14 import mhr.appcore.exceptions.AlreadyDisposedException;
15 import mhr.appcore.image.Image;
16 import mhr.appcore.image.exceptions.InvalidLayerSpecificPresentationSuppliedException;
17 import mhr.appcore.interfaces.ImageFile;
18 import mhr.appcore.interfaces.PDBitmap;
19 import mhr.appcore.interpolators.Interpolator;
20 import mhr.appcore.utils.NotImplementedException;
21 import mhr.appcore.utils.Rect;
68 mode =
BlendMode.valueOf(i.getElementsByTagName(
"BlendMode").item(0).getTextContent());
69 color = Integer.parseInt(i.getElementsByTagName(
"Color").item(0).getTextContent());
217 ColorLayerSpecificPresentation p = (ColorLayerSpecificPresentation) presentation.
extra;