| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| MosaicVector |
|
| 0.0;0 |
| 1 | /****************************************************************************** | |
| 2 | * MosaicVector.java - Describe a mosaic view of a Pic | |
| 3 | * | |
| 4 | * PicMan - The BuckoSoft Picture Manager in Java | |
| 5 | * Copyright(c) 2007 - Dick Balaska | |
| 6 | * | |
| 7 | */ | |
| 8 | package com.buckosoft.PicMan.domain.mosaic; | |
| 9 | ||
| 10 | /** Describe a mosaic view of a Pic | |
| 11 | * With which we store information about color values of a Pic | |
| 12 | * @author dick | |
| 13 | * | |
| 14 | */ | |
| 15 | 0 | public class MosaicVector { |
| 16 | public final static int MAXDEPTH = 3; | |
| 17 | ||
| 18 | public int pid; | |
| 19 | ||
| 20 | /** The basic color of this Pic */ | |
| 21 | public int rgb; | |
| 22 | ||
| 23 | /** The colors of this Pic as a 2x2 array */ | |
| 24 | 0 | public int[][] rgb2 = new int[2][2]; |
| 25 | ||
| 26 | /** The colors of this Pic as a 3x3 array */ | |
| 27 | 0 | public int[][] rgb3 = new int[3][3]; |
| 28 | } |