Graphs: a paint written to an axis line that already shows it is kept for its kind

paint.setFill, paint.setStroke, addon.color.fillToStroke and
addon.color.strokeToFill on an axis line, tick mark or radar ring that
already showed the paint they write stored nothing, so a paint its kind
kept from another line came back when the graph was drawn again. The
paint written to the line's topmost visible fill or stroke row is now
stored for its kind; its other attributes stay as the kind keeps them.
This commit is contained in:
dotCooCoo
2026-11-14 16:46:07 -08:00
parent 43c67bca36
commit b78aa4cc33
6 changed files with 65 additions and 6 deletions
+3 -1
View File
@@ -931,7 +931,9 @@ The other commands store them when given the line itself, and the `appearance.*`
`graphicStyle.apply`, `graphicStyle.redefine`, and `appearance.copyFrom` with every attribute picked up and applied or
with `append`, store a line's rows even when the line already showed them. The other commands, an `appearance.copyFrom`
of some attributes included, store only what they change on a line's rows; the kind keeps its other attributes, also
when the line still shows different ones until the graph is drawn again. An `appearance.copyFrom` that does not apply
when the line still shows different ones until the graph is drawn again. `paint.setFill`, `paint.setStroke`,
`addon.color.fillToStroke` and `addon.color.strokeToFill` also store the paint they write on a line's topmost visible
fill or stroke row when the line already showed it. An `appearance.copyFrom` that does not apply
the object's transparency, and `graphicStyle.apply` with `add`, leave the object opacity and blend mode a kind keeps as
they are, also when the line still shows other ones. `paint.default` stores the default fill and stroke rows for a
line's kind even when the line already showed them, and leaves the object opacity and blend mode the kind keeps. Rows