Module omix.api

Interface GraphicsNode

All Superinterfaces:
AbstractItem, AbstractNode
All Known Subinterfaces:
GraphicsNode

public interface GraphicsNode
extends AbstractNode
  • Method Details

    • text

      String text()
    • x

      double x()
    • y

      double y()
    • width

      double width()
    • height

      double height()
    • hidden

      boolean hidden()
      Visibility of the network component.
      Returns:
      hidden
    • collapsed

      boolean collapsed()
      Collapsed-state of the network component. Possible values:
      • true - the component is forced to be collapsed even if the components are shown by default.
      • false - the component is forced to be visible even if the components are hidden by default.
      • null - the component is visible or collapsed dependent on the model settings.
      Returns:
      collapsed
      Since:
      Omix 1.9.0
    • strokeWidth

      double strokeWidth()
      The stroke width of the item's shape.
    • textStrokeWidth

      double textStrokeWidth()
      The stroke width of the item's text label.
    • scale

      double scale()
      The scale factor the node is displayed with. Values less than 1.0 decreases the node's size. Values greater than 1.0 increases its size.
    • fillLevel

      double fillLevel()
      The filling level of the item's shape given as percentage value.
    • blur

      double blur()
      The blur of the node.
    • transparency

      double transparency()
      The transparency of the node.
    • paint

      Paint paint()
      The fill appearance of the item's shape.
    • shadow

      Shadow shadow()
      The shadow of the item.
    • strokeColor

      Color strokeColor()
      The color for the stroke of the item's shape.
    • textStrokeColor

      Color textStrokeColor()
      The color for the stroke of the item's text label.
    • strokeStyle

      StrokeStyle strokeStyle()
      The paint style for the stroke of the item's shape.
    • shape

      Shape shape()
      The appearance of the metabolite node in the diagram.
    • font

      Font font()
      The font of the text label of the item.
    • fillLevelIndication

      FillLevelIndication fillLevelIndication()
      The indication for filling of the item's shape.
    • textBrush

      Brush textBrush()
      The fill brush of the item's text label.