com.nokia.carbide.cpp.epoc.engine.image
Class ImageFormat
java.lang.Object
com.nokia.carbide.cpp.epoc.engine.image.ImageFormat
public class ImageFormat
- extends java.lang.Object
Utility class to convert back/forth from the compact
is-color/depth/mask depth strings used in Symbian build files.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
isColor
public boolean isColor
depth
public int depth
maskDepth
public int maskDepth
ImageFormat
public ImageFormat(java.lang.String format)
ImageFormat
public ImageFormat(boolean isColor,
int depth,
int maskDepth)
ImageFormat
public ImageFormat(boolean isColor,
int depth)
matches
public static boolean matches(java.lang.String format)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
isColor
public boolean isColor()
getDepth
public int getDepth()
- Returns:
- the depth
getMaskDepth
public int getMaskDepth()
- Returns:
- the maskDepth