summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/salamander/svg/basic/SVGRect.java
blob: aae86c630b7b21f5ca8bdc318a3b15db0220ad1f (plain) (blame)
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
/*
 * SVGString.java
 *
 * Created on April 12, 2007, 2:47 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.kitfox.salamander.svg.basic;

/**
 * Rectangles are defined as consisting of a (x,y) coordinate pair identifying a minimum X value, a minimum Y value, and a width and height, which are usually constrained to be non-negative.
 * @author kitfox
 */
public interface SVGRect extends SVGDataType
{
    /**
     * Corresponds to attribute x on the given element.
     */
    public float getX();
    /**
     * Corresponds to attribute y on the given element.
     */
    public float getY();
    /**
     * Corresponds to attribute width on the given element.
     */
    public float getWidth();
    /**
     * Corresponds to attribute height on the given element.
     */
    public float getHeight();
}