author | Anton Epple <toni.epple@eppleton.de> |
Fri, 24 May 2013 07:36:58 +0200 | |
branch | canvas |
changeset 1137 | 964e42c9448d |
child 1154 | 2bdd1eba1880 |
permissions | -rw-r--r-- |
1 /*
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
4 */
5 package net.java.html.canvas;
7 /**
8 *
9 * @author antonepple
10 */
11 public class Dimension {
12 double width, height;
14 public Dimension(double width, double height) {
15 this.width = width;
16 this.height = height;
17 }
21 public double getWidth() {
22 return width;
23 }
25 public void setWidth(double width) {
26 this.width = width;
27 }
29 public double getHeight() {
30 return height;
31 }
33 public void setHeight(double height) {
34 this.height = height;
35 }
38 }