Interface Attributable

    • Method Detail

      • getAttributes

        ShapeAttributes getAttributes()
        Indicates the shape's normal (non-highlight) attributes.
        Returns:
        the shape's normal attributes
      • setAttributes

        void setAttributes​(ShapeAttributes attributes)
        Specifies the shape's normal (non-highlight) attributes. If null and this shape is not highlighted, this shape is not drawn.
        It is permissible to share attribute bundles between shapes.
        Parameters:
        attributes - a reference to the shape's new normal attributes
      • getHighlightAttributes

        ShapeAttributes getHighlightAttributes()
        Indicates the shape's highlight attributes.
        Returns:
        the shape's highlight attributes
      • setHighlightAttributes

        void setHighlightAttributes​(ShapeAttributes highlightAttributes)
        Specifies the shape's highlight attributes. If null and this shape is highlighted, this shape's normal attributes are used. If they in turn are null, this shape is not drawn.
        It is permissible to share attribute bundles between shapes.
        Parameters:
        highlightAttributes - a reference to the shape's new highlight attributes