Uses of Class
org.faceless.publisher.type.CSSColor
Package
Description
Provides the base classes for output from BFO Publisher, extended by type-specific subpackages
Provides the classes used to write output to PDF
Provides the classes used to write output to SVG
Contains utility classes and interfaces which are used across BFO Publisher
-
Uses of org.faceless.publisher.type.CSSColor in org.faceless.publisher.output
Modifier and TypeMethodDescriptionvoid
MeshGradientBuilder.stop
(String path, org.faceless.publisher.type.CSSColor stopColor) BitmapCanvas.toImage
(Rectangle2D region, org.faceless.publisher.type.CSSColor rootColor, float resolution, boolean withOpacity) ReportCanvas.toImage
(Rectangle2D region, org.faceless.publisher.type.CSSColor rootColor, float resolution, boolean withOpacity) Return a bitmap image of this canvas.ReportCanvasFilter.toImage
(Rectangle2D region, org.faceless.publisher.type.CSSColor rootColor, float resolution, boolean withOpacity) -
Uses of org.faceless.publisher.type.CSSColor in org.faceless.publisher.output.pdf
Modifier and TypeMethodDescriptionPDFReportCanvas.toImage
(Rectangle2D region, org.faceless.publisher.type.CSSColor rootColor, float resolution, boolean withOpacity) -
Uses of org.faceless.publisher.type.CSSColor in org.faceless.publisher.output.svg
Modifier and TypeMethodDescriptionSVGReportCanvas.toImage
(Rectangle2D region, org.faceless.publisher.type.CSSColor rootColor, float resolution, boolean withOpacity) -
Uses of org.faceless.publisher.type.CSSColor in org.faceless.publisher.type
Modifier and TypeMethodDescriptionabstract org.faceless.publisher.type.CSSColor
ColorFilter.convert
(org.faceless.publisher.type.CSSColor c) org.faceless.publisher.type.CSSColor
ColorStop.getColor()
org.faceless.publisher.type.CSSColor
Shadow.getColor
(org.faceless.publisher.type.CSSStyle style) default org.faceless.publisher.type.CSSColor
EnvSource.getEnvironmentAsColor
(String name, org.faceless.publisher.type.CSSColor dflt) org.faceless.publisher.type.CSSColor
ConicGradientResource.getStopColor
(int i) Return the stop color at stop i.abstract org.faceless.publisher.type.CSSColor
LinearGradientResource.getStopColor
(int stop) abstract org.faceless.publisher.type.CSSColor
RadialGradientResource.getStopColor
(int stop) static org.faceless.publisher.type.CSSColor
CSSColor.interpolate
(float pos, float alpha, List<Map.Entry<Float, org.faceless.publisher.type.CSSColor>> in, ColorSpace target, ColorSpace interpolateSpace, int interpolationMethod) Interpolate the list of [fraction,color] pairs in the specified interpolation space/method as above, but return a value at a fixed point in the interpolation.static org.faceless.publisher.type.CSSColor
CSSColor.interpolate
(org.faceless.publisher.type.CSSColor c0, org.faceless.publisher.type.CSSColor c1, float t, float alpha, ColorSpace targetSpace, ColorSpace interpolationSpace, int interpolationMethod) Apply the css-color-4 "blend" function to make a color lighter or darkerorg.faceless.publisher.type.CSSColor
CSSColor.resolve
(org.faceless.publisher.type.CSSStyle style) static org.faceless.publisher.type.CSSColor
CSSColor.wrap
(Color c) Modifier and TypeMethodDescriptionCSSColor.interpolate
(List<Map.Entry<Float, org.faceless.publisher.type.CSSColor>> in, ColorSpace target, ColorSpace interpolateSpace, int interpolationMethod, boolean clamp) Interpolate the list of [fraction,color] pairs in the specified interpolation space/method Which space to use as a default is at https://drafts.csswg.org/css-color-4/#interpolation Broadly -- all in rgb/hsl/hwb -- use sRGB -- otherwise use oklabModifier and TypeMethodDescriptionabstract org.faceless.publisher.type.CSSColor
ColorFilter.convert
(org.faceless.publisher.type.CSSColor c) default org.faceless.publisher.type.CSSColor
EnvSource.getEnvironmentAsColor
(String name, org.faceless.publisher.type.CSSColor dflt) static org.faceless.publisher.type.CSSColor
CSSColor.interpolate
(org.faceless.publisher.type.CSSColor c0, org.faceless.publisher.type.CSSColor c1, float t, float alpha, ColorSpace targetSpace, ColorSpace interpolationSpace, int interpolationMethod) Apply the css-color-4 "blend" function to make a color lighter or darkerModifier and TypeMethodDescriptionstatic org.faceless.publisher.type.CSSColor
CSSColor.interpolate
(float pos, float alpha, List<Map.Entry<Float, org.faceless.publisher.type.CSSColor>> in, ColorSpace target, ColorSpace interpolateSpace, int interpolationMethod) Interpolate the list of [fraction,color] pairs in the specified interpolation space/method as above, but return a value at a fixed point in the interpolation.CSSColor.interpolate
(List<Map.Entry<Float, org.faceless.publisher.type.CSSColor>> in, ColorSpace target, ColorSpace interpolateSpace, int interpolationMethod, boolean clamp) Interpolate the list of [fraction,color] pairs in the specified interpolation space/method Which space to use as a default is at https://drafts.csswg.org/css-color-4/#interpolation Broadly -- all in rgb/hsl/hwb -- use sRGB -- otherwise use oklabModifierConstructorDescriptionColorStop
(org.faceless.publisher.type.CSSColor color, float position) ColorStop
(org.faceless.publisher.type.CSSColor color, org.faceless.publisher.type.Length position) Shadow
(boolean inset, org.faceless.publisher.type.Length horizontalOffset, org.faceless.publisher.type.Length verticalOffset, org.faceless.publisher.type.Length blurRadius, org.faceless.publisher.type.Length spreadDistance, org.faceless.publisher.type.CSSColor color) TagAttribute
(org.faceless.publisher.type.CSSColor value)