diff options
author | kitfox | 2007-04-12 22:35:16 +0200 |
---|---|---|
committer | kitfox | 2007-04-12 22:35:16 +0200 |
commit | 23ebe96d580929d66b7c8efc1b61226db0c7dcf9 (patch) | |
tree | f218607e111344462350292ac2a64ec05a464504 /src/main/java/com/kitfox/salamander/svg/basic/SVGRect.java | |
parent | Pseudocode for main rendering logic. Roughing in SVG structure. (diff) | |
download | svg-salamander-core-23ebe96d580929d66b7c8efc1b61226db0c7dcf9.tar.gz svg-salamander-core-23ebe96d580929d66b7c8efc1b61226db0c7dcf9.tar.xz svg-salamander-core-23ebe96d580929d66b7c8efc1b61226db0c7dcf9.zip |
Pseudocode for main rendering logic. Roughing in SVG structure.
git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@11 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b
Diffstat (limited to 'src/main/java/com/kitfox/salamander/svg/basic/SVGRect.java')
-rwxr-xr-x | src/main/java/com/kitfox/salamander/svg/basic/SVGRect.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGRect.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGRect.java new file mode 100755 index 0000000..aae86c6 --- /dev/null +++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGRect.java @@ -0,0 +1,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();
+}
|