pixel-editor/js/_pixelEditorUtility.js

7 lines
142 B
JavaScript
Raw Normal View History

function isPixelEmpty(pixel) {
if ((pixel[0] == 0 && pixel[1] == 0 && pixel[2] == 0) || pixel[3] == 0) {
return true;
}
return false;
}