| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 package org.chromium.chromoting; |
| 6 |
| 7 import android.graphics.Canvas; |
| 8 import android.graphics.Point; |
| 9 |
| 10 /** The parameter for an OnPaint event. */ |
| 11 public final class PaintEventParameter { |
| 12 public final Point cursorPosition; |
| 13 public final Canvas canvas; |
| 14 public final float scale; |
| 15 |
| 16 public PaintEventParameter(Point cursorPosition, Canvas canvas, float scale)
{ |
| 17 this.cursorPosition = cursorPosition; |
| 18 this.canvas = canvas; |
| 19 this.scale = scale; |
| 20 } |
| 21 } |
| OLD | NEW |