• R/O
  • SSH
  • HTTPS

copper: Commit


Commit MetaInfo

Revision1625 (tree)
Time2022-05-02 18:01:28
Authormiyabe

Log Message

(empty log message)

Change Summary

  • delete: copper/trunk/homare/src/main/java/jp/cssj/homare/css/value/CMYKColorValue.java
  • delete: copper/trunk/homare/src/main/java/jp/cssj/homare/css/value/RGBColorValue.java
  • delete: copper/trunk/homare/src/main/java/jp/cssj/homare/css/value/GrayColorValue.java
  • delete: copper/trunk/homare/src/main/java/jp/cssj/homare/css/value/css3/RGBAColorValue.java

Incremental Difference

--- copper/trunk/homare/src/main/java/jp/cssj/homare/css/value/CMYKColorValue.java (revision 1624)
+++ copper/trunk/homare/src/main/java/jp/cssj/homare/css/value/CMYKColorValue.java (nonexistent)
@@ -1,23 +0,0 @@
1-package jp.cssj.homare.css.value;
2-
3-import jp.cssj.sakae.gc.paint.CMYKColor;
4-
5-/**
6- * @author MIYABE Tatsuhiko
7- * @version $Id$
8- */
9-public class CMYKColorValue extends CMYKColor implements ColorValue {
10- private static final long serialVersionUID = 1L;
11-
12- public CMYKColorValue(float cyan, float magenta, float yellow, float black) {
13- super(cyan, magenta, yellow, black);
14- }
15-
16- public CMYKColorValue(float cyan, float magenta, float yellow, float black, byte overprint) {
17- super(cyan, magenta, yellow, black, overprint);
18- }
19-
20- public short getValueType() {
21- return Value.TYPE_COLOR;
22- }
23-}
\ No newline at end of file
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
--- copper/trunk/homare/src/main/java/jp/cssj/homare/css/value/RGBColorValue.java (revision 1624)
+++ copper/trunk/homare/src/main/java/jp/cssj/homare/css/value/RGBColorValue.java (nonexistent)
@@ -1,30 +0,0 @@
1-package jp.cssj.homare.css.value;
2-
3-import jp.cssj.sakae.gc.paint.RGBColor;
4-
5-/**
6- * @author MIYABE Tatsuhiko
7- * @version $Id$
8- */
9-public class RGBColorValue extends RGBColor implements ColorValue {
10- private static final RGBColorValue BLACK = new RGBColorValue(0, 0, 0);
11- private static final RGBColorValue WHITE = new RGBColorValue(255, 255, 255);
12-
13- public static RGBColorValue createValue(float red, float green, float blue) {
14- if (red == 0f && green == 0f && blue == 0f) {
15- return BLACK;
16- }
17- if (red == 1f && green == 1f && blue == 1f) {
18- return WHITE;
19- }
20- return new RGBColorValue(red, green, blue);
21- }
22-
23- private RGBColorValue(float red, float green, float blue) {
24- super(red, green, blue);
25- }
26-
27- public short getValueType() {
28- return Value.TYPE_COLOR;
29- }
30-}
\ No newline at end of file
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
--- copper/trunk/homare/src/main/java/jp/cssj/homare/css/value/GrayColorValue.java (revision 1624)
+++ copper/trunk/homare/src/main/java/jp/cssj/homare/css/value/GrayColorValue.java (nonexistent)
@@ -1,17 +0,0 @@
1-package jp.cssj.homare.css.value;
2-
3-import jp.cssj.sakae.gc.paint.GrayColor;
4-
5-/**
6- * @author MIYABE Tatsuhiko
7- * @version $Id$
8- */
9-public class GrayColorValue extends GrayColor implements ColorValue {
10- public GrayColorValue(float gray) {
11- super(gray);
12- }
13-
14- public short getValueType() {
15- return Value.TYPE_COLOR;
16- }
17-}
\ No newline at end of file
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
--- copper/trunk/homare/src/main/java/jp/cssj/homare/css/value/css3/RGBAColorValue.java (revision 1624)
+++ copper/trunk/homare/src/main/java/jp/cssj/homare/css/value/css3/RGBAColorValue.java (nonexistent)
@@ -1,24 +0,0 @@
1-package jp.cssj.homare.css.value.css3;
2-
3-import jp.cssj.homare.css.value.ColorValue;
4-import jp.cssj.homare.css.value.Value;
5-import jp.cssj.sakae.gc.paint.RGBAColor;
6-
7-/**
8- * @author MIYABE Tatsuhiko
9- * @version $Id$
10- */
11-public class RGBAColorValue extends RGBAColor implements ColorValue {
12-
13- public static RGBAColorValue createValue(float red, float green, float blue, float alpha) {
14- return new RGBAColorValue(red, green, blue, alpha);
15- }
16-
17- private RGBAColorValue(float red, float green, float blue, float alpha) {
18- super(red, green, blue, alpha);
19- }
20-
21- public short getValueType() {
22- return Value.TYPE_COLOR;
23- }
24-}
\ No newline at end of file
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Show on old repository browser