public abstract class ColorInfo extends Object
This class encapsulates the common properties shared by all render information types used in contrast checking: the color and geometric path of the rendered element.
Subclasses should extend this class to represent specific types of rendered content, such as text or background elements.
| Constructor and Description |
|---|
ColorInfo(Color color,
Path path)
Constructs a new ContrastInformationRenderInfo with the specified color and path.
|
| Modifier and Type | Method and Description |
|---|---|
Color |
getColor()
Gets the color of the rendered element.
|
Path |
getPath()
Gets the geometric path of the rendered element.
|
public Color getColor()
public Path getPath()
The path defines the shape and position of the element on the page.
Copyright © 1998–2026 Apryse Group NV. All rights reserved.