Problem, Sprite image changes color according to arrow color

0 votes
asked Mar 2, 2015 in Bug by anonymous
I had made some Sprite images. I want to include that as part of the label (text) in arrow. It display fine except that the image will change its color according to the arrow color. That is, if my arrow is yellow, the image will change to yellow. The problem is that most of my arrows are black, hence, the whole image becomes solid black, not good. Is this a bug?

1 Answer

0 votes
answered Mar 2, 2015 by plantuml (294,960 points)

Hello,

Sounds like a bug, but if you could post an example, it would help us to better understand the case.

Note that since sprite are using font text color, you can also select it like this:

sprite $foo1 {
  FFFFFFFFFFFFFFF
  F0123456789ABCF
  F0123456789ABCF
  F0123456789ABCF
  F0123456789ABCF
  F0123456789ABCF
  F0123456789ABCF
  F0123456789ABCF
  F0123456789ABCF
  FFFFFFFFFFFFFFF
}
Alice -> Bob : Testing <color:red><$foo1></color>

 

...