Hello Everyone,
I am trying to apply RGB color the edge target arrow which is of delta shape.
I have used this below code to apply the Delta shape for edge target arrow.
VisualStyle vs = cyServiceRegistrar.getService(VisualStyleFactory.class).createVisualStyle(currentStyle);
vs.setDefaultValue(BasicVisualLexicon.EDGE_TARGET_ARROW_SHAPE, ArrowShapeVisualProperty.DELTA);
But I am not able to give color to the tip of the edge.
There is some property which we can do from a xml file. Below is the sample example
<visualProperty name="EDGE_TARGET_ARROW_UNSELECTED_PAINT" default="#000000"/>
<visualProperty name="EDGE_TARGET_ARROW_SELECTED_PAINT" default="#ffff00"/>
I need to do this using programmatically.
Please help me with this issue.
Thanks,
Pritam