| /** |
| * |
| * 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(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 int getRdy() { |
| return rdy; |
| } |
| |
| public int getSw() { |
| return sw; |
| } |
| |
| public int getPressure() { |
| return pressure; |
| } |
| |
| public int getX() { |
| return x; |
| } |
| |
| public int getY() { |
| return y; |
| } |
| } |