Revision 20066 trunk/libraries/libRaster/src/org/gvsig/raster/grid/GridTransparency.java
GridTransparency.java | ||
---|---|---|
143 | 143 |
private boolean processRange(int[] px) { |
144 | 144 |
for (int i = 0; i < transparencyRanges.size(); i++) { |
145 | 145 |
TransparencyRange tr = ((TransparencyRange)transparencyRanges.get(i)); |
146 |
if(tr == null) |
|
147 |
continue; |
|
146 | 148 |
if(tr.isAnd()){ |
147 | 149 |
if(tr.getRed() != null) |
148 | 150 |
if (px[1] < tr.getRed()[0] || px[1] > tr.getRed()[1]) |
Also available in: Unified diff