01: /**
02: * Annotation.java
03: *
04: Copyright (c) 2007, Innovatics Inc.
05:
06: All rights reserved.
07:
08: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
09:
10: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
11: * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
12:
13: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
14: "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
15: LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
16: A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
17: CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18: EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19: PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20: PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
21: LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
22: NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23: SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24: */package com.pdfjet;
25:
26: import java.lang.*;
27:
28: //>>>>pdfjet {
29: public class Annotation {
30: protected String uri = null;
31: protected double x1 = 0.0;
32: protected double y1 = 0.0;
33: protected double x2 = 0.0;
34: protected double y2 = 0.0;
35:
36: public Annotation(String uri, double x1, double y1, double x2,
37: double y2) {
38: this .uri = uri;
39: this .x1 = x1;
40: this .y1 = y1;
41: this .x2 = x2;
42: this .y2 = y2;
43: }
44: }
45: //>>>>}
|