Interface IStyleableFigure

All Superinterfaces:
IFigure

public interface IStyleableFigure extends IFigure
Marks a figure that allows its style being configured through a GraphNode from the model.

If a figure implementing this interface is associated to a GraphNode, the foreground, background and border colors will be configured according to the model, as well as the font and the border width.
Since:
1.14
See Also:
  • Method Details

    • setBorderColor

      void setBorderColor(Color borderColor)
      Set the border color
      Parameters:
      borderColor - the border color
    • setBorderWidth

      void setBorderWidth(int borderWidth)
      Set the border width
      Parameters:
      borderWidth - the border width