All Implemented Interfaces:
DynamicPropertyProvider, LocaleListener, MutableDynamicPropertyProvider, StyleProvider, ComponentLifecycle, QualityMonitor, VisionComponent, ImageObserver, MenuContainer, Serializable

public class PMIPipeJoint extends AbstractVisionBufferedComponent
See Also:
  • Field Details

    • mainColor

      protected Color mainColor
    • secondaryColor

      protected Color secondaryColor
    • outlineColor

      protected Color outlineColor
    • top

      protected boolean top
    • bottom

      protected boolean bottom
    • left

      protected boolean left
    • antialias

      protected boolean antialias
  • Constructor Details

    • PMIPipeJoint

      public PMIPipeJoint()
  • Method Details

    • drawBuffer

      protected void drawBuffer(Graphics2D g2, int width, int height)
      Description copied from class: AbstractVisionBufferedComponent
      Subclasses only need to implement this function to have buffered functionality. If anything changes about the component (besides component size), such as colors or line thicknesses, call invalidateBuffer() to ensure this is called again on the next repaint
      Specified by:
      drawBuffer in class AbstractVisionBufferedComponent
      Parameters:
      g2 - A graphics object that will paint onto the off-screen buffer
    • getMainColor

      public Color getMainColor()
    • getOutlineColor

      public Color getOutlineColor()
    • getSecondaryColor

      public Color getSecondaryColor()
    • setMainColor

      public void setMainColor(Color color)
    • setOutlineColor

      public void setOutlineColor(Color color)
    • setSecondaryColor

      public void setSecondaryColor(Color color)
    • setPipeWidth

      public void setPipeWidth(int i)
    • isBottom

      public boolean isBottom()
    • isLeft

      public boolean isLeft()
    • isRight

      public boolean isRight()
    • isTop

      public boolean isTop()
    • setBottom

      public void setBottom(boolean b)
    • setLeft

      public void setLeft(boolean b)
    • setRight

      public void setRight(boolean b)
    • setTop

      public void setTop(boolean b)