public class BackgroundColorInfo extends ColorInfo
This class extends ColorInfo to specifically represent
background shapes and their colors, which are used to calculate contrast ratios
against text elements for accessibility compliance.
Background elements include filled paths, rectangles, and other non-text content that may appear behind text on a PDF page.
| Constructor and Description |
|---|
BackgroundColorInfo(Color color,
Path path)
Constructs a new
BackgroundColorInfo with the specified color and path. |
public BackgroundColorInfo(Color color, Path path)
BackgroundColorInfo with the specified color and path.color - the fill color of the background elementpath - the geometric path defining the shape and position of the background elementCopyright © 1998–2026 Apryse Group NV. All rights reserved.