Interface PaintedShape

  • All Superinterfaces:

    public interface PaintedShape
    extends CustomGraphicLayer
    This interface defines a the information required to construct a Shape that has an arbitrary fill Paint and Stroke.

    Module: presentation-api

    To use this in your app, include the following dependency in your POM:


    Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.
    • Method Detail

      • getPaint

        Paint getPaint()
        Return the Paint to fill the shape with. This is a convenience method that is essentially the same as calling getPaint(getShape().getBounds());
        the Paint