From 884ae85fe6553eb3c840dbdac1053ab4994bc0b7 Mon Sep 17 00:00:00 2001 From: Kirill Grouchnikov Date: Mon, 4 Mar 2024 18:28:17 -0500 Subject: [PATCH] Update docs with the latest painter changes For #462 --- docs/theming/painters/border.md | 6 ++---- docs/theming/painters/fill.md | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/theming/painters/border.md b/docs/theming/painters/border.md index cdbe6b78e..67da4255b 100644 --- a/docs/theming/painters/border.md +++ b/docs/theming/painters/border.md @@ -47,11 +47,9 @@ Note that if this method returns `false`, the implementation of the `paintBorder Radiance provides a number of border painters that can be used as a starting point for your custom application visuals. -* `StandardBorderPainter` provides three base methods that compute border colors at different vertical locations (see `get*BorderColor` methods). Most core Radiance border painters extend this class. -* `DelegateBorderPainter` wraps a `StandardBorderPainter` instance and applies bit masks to each one of the three colors. For example, a mask of `0x40FFFFFF` applies a 25% alpha, leaving the red, green and blue channels untouched. -* `CompositeBorderPainter` combines two border painters, using one for just the outer contour, and the other just for the inner contour. -* `FractionBasedBorderPainter` enables vertical gradients with arbitrary multi-stop colors. +* `FractionBasedBorderPainter` enables vertical gradients with arbitrary multi-stop colors. Most core Radiance border painters extend this class. * `DelegateFractionBasedBorderPainter` wraps a `FractionBasedBorderPainter` with per-stop bit masks and a color scheme transform. +* `CompositeBorderPainter` combines two border painters, using one for just the outer contour, and the other just for the inner contour. ### Management API diff --git a/docs/theming/painters/fill.md b/docs/theming/painters/fill.md index 7f82f8770..d4d7cab6a 100644 --- a/docs/theming/painters/fill.md +++ b/docs/theming/painters/fill.md @@ -29,8 +29,8 @@ Important thing to note - a fill painter **must not** paint the focus ring or th Radiance provides a number of fill painters that can be used as a starting point for your custom application visuals. -* `StandardFillPainter` provides six base methods that compute fill colors at four fill and two shine vertical locations (see `get*FillColor` and `get*ShineColor` methods). Most core Radiance fill painters extend this class. Note that if your fill painter does not paint the shine spot, return `null` from the `get*ShineColor` methods. -* `FractionBasedFillPainter` enables vertical gradients with arbitrary multi-stop colors. +* `FractionBasedFillPainter` enables vertical gradients with arbitrary multi-stop colors. Most core Radiance fill painters extend this class. +* `SpecularRectangularFillPainter` allows adding specular shine along the top part of the fill area. ### Management API