blob: e27bd488b4c538003c6f32b707c0d370f62996ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
package org.apache.xml.fop.svg;
/**
* class representing a rectangle in an SVG Area
*/
public class RectGraphic extends Graphic {
/** x-coordinate of corner */
public int x;
/** y-coordinate of corner */
public int y;
/** width of rectangle */
public int width;
/** height of rectangle */
public int height;
/**
* construct a rectangle graphic.
*
* @param x x-coordinate of corner
* @param y y-coordinate of corner
* @param width width of rectangle
* @param height height of rectangle
*/
public RectGraphic(int x, int y, int width, int height) {
this.x = x;
this.y = y;
this.width = width;
this.height = height;
}
}
|