pixel class