blob: ac162b19cda60bec3e3d766c7144163f8b1f0289 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*/
package org.eclipse.osbp.ui.api.pos;
public class PenData {
private int rdy;
private int sw;
private int pressure;
private int x;
private int y;
public PenData() {
}
public PenData(int rdy, int sw, int pressure, int x, int y) {
this.rdy = rdy;
this.sw = sw;
this.pressure = pressure;
this.x = x;
this.rdy = y;
}
public PenData(PenData data) {
this.rdy = data.getRdy();
this.sw = data.getSw();
this.pressure = data.getPressure();
this.x = data.getX();
this.rdy = data.getY();
}
public int getRdy() {
return rdy;
}
public int getSw() {
return sw;
}
public int getPressure() {
return pressure;
}
public int getX() {
return x;
}
public int getY() {
return y;
}
}