Skip to content

Commit

Permalink
Update docs with the latest painter changes
Browse files Browse the repository at this point in the history
For #462
  • Loading branch information
kirill-grouchnikov committed Mar 4, 2024
1 parent 8678c3c commit 884ae85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions docs/theming/painters/border.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/theming/painters/fill.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 884ae85

Please sign in to comment.