added lineon/off, linepixelon/off methods to library