public class ColorSpaceCache extends Object
| Constructor and Description |
|---|
ColorSpaceCache(InternalResourceResolver resourceResolver)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
ColorSpace |
get(String profileName,
String iccProfileSrc,
org.apache.xmlgraphics.java2d.color.RenderingIntent renderingIntent)
Create (if needed) and return an ICC ColorSpace instance.
|
public ColorSpaceCache(InternalResourceResolver resourceResolver)
resourceResolver - uri resolverpublic ColorSpace get(String profileName, String iccProfileSrc, org.apache.xmlgraphics.java2d.color.RenderingIntent renderingIntent)
profileName - the profile nameiccProfileSrc - ICC Profile source to return a ColorSpacerenderingIntent - overriding rendering intentCopyright © 2023 Apache Software Foundation. All rights reserved.