Quantcast
Channel: NodeXL: Network Overview, Discovery and Exploration for Excel
Viewing all articles
Browse latest Browse all 4386

Commented Issue: Add an API option to get rid of the border around images [23856]

$
0
0
Currently each image vertex (VertextShape.Image) is drawn with a border using the vertex color. This color is also used to draw the associated label. However, my graph (showing all vertices as image) would look so much better if we could hide the border. Setting the color to transparent does not work, because that also makes the labels transparent. So there are 2 solutions:
1. Add a VertexLabelColor property. If not set then it should obtain the value from the Color (or PerColor) property.
1. Add a boolean ShowVertexImageBorder property which is true by default. In the case the following line at VertexLabelDrawer.cs:1143 should be checked for this property:

```
WpfGraphicsUtil.DrawPixelAlignedRectangle(oDrawingContext, null,
GetPen(oColor, DefaultPenThickness), oVertexRectangle);
```
Comments: ** Comment from web user: lanndo **

agreed, this would make the presentation much better.


Viewing all articles
Browse latest Browse all 4386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>