public class SurfaceSize extends Object
DimensionImmutable size in pixelsbits per pixel| Constructor and Description |
|---|
SurfaceSize(DimensionImmutable resolution,
int bitsPerPixel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Checks whether two size objects are equal.
|
int |
getBitsPerPixel() |
DimensionImmutable |
getResolution() |
int |
hashCode() |
String |
toString() |
public SurfaceSize(DimensionImmutable resolution, int bitsPerPixel)
public final DimensionImmutable getResolution()
public final int getBitsPerPixel()
public final boolean equals(Object obj)
SurfaceSize are equal if the two components
resolution and bitsPerPixel
are equal.Copyright 2010 JogAmp Community.