ASF Bugzilla – Attachment 24724 Details for
Bug 48405
Implement a color conversion utility
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
A color coverter interface
patch_48405.txt (text/plain), 1.41 KB, created by
Peter Hancock
on 2009-12-17 05:59:47 UTC
(
hide
)
Description:
A color coverter interface
Filename:
MIME Type:
Creator:
Peter Hancock
Created:
2009-12-17 05:59:47 UTC
Size:
1.41 KB
patch
obsolete
>Index: src/java/org/apache/xmlgraphics/java2d/ColorConverter.java >=================================================================== >--- src/java/org/apache/xmlgraphics/java2d/ColorConverter.java (revision 0) >+++ src/java/org/apache/xmlgraphics/java2d/ColorConverter.java (revision 0) >@@ -0,0 +1,39 @@ >+/* >+ * Licensed to the Apache Software Foundation (ASF) under one or more >+ * contributor license agreements. See the NOTICE file distributed with >+ * this work for additional information regarding copyright ownership. >+ * The ASF licenses this file to You under the Apache License, Version 2.0 >+ * (the "License"); you may not use this file except in compliance with >+ * the License. You may obtain a copy of the License at >+ * >+ * http://www.apache.org/licenses/LICENSE-2.0 >+ * >+ * Unless required by applicable law or agreed to in writing, software >+ * distributed under the License is distributed on an "AS IS" BASIS, >+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. >+ * See the License for the specific language governing permissions and >+ * limitations under the License. >+ */ >+ >+/* $Id:$ */ >+ >+package org.apache.xmlgraphics.java2d; >+ >+import java.awt.Color; >+ >+/** >+ * >+ * Utility for implementing a color conversion scheme. >+ * >+ */ >+public interface ColorConverter { >+ >+ /** >+ * >+ * @param color to convert >+ * @return converted color >+ */ >+ >+ public Color convert(Color color); >+ >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48405
:
24724
|
24817