java.lang.Object
com.inductiveautomation.factorypmi.application.components.overlay.MatteBorderLayer
All Implemented Interfaces:
OverlayLayer

public class MatteBorderLayer extends Object implements OverlayLayer
Fills the area with a solid fill at some transparency level.
  • Constructor Details

    • MatteBorderLayer

      public MatteBorderLayer(Color color, float alpha, float width)
    • MatteBorderLayer

      public MatteBorderLayer(Color color, float alpha, float width, float[] dash)
    • MatteBorderLayer

      public MatteBorderLayer()
      Ctor for serialization
  • Method Details

    • paintOverlay

      public void paintOverlay(JComponent comp, Graphics2D g, Rectangle rect, float animationValue)
      Specified by:
      paintOverlay in interface OverlayLayer
    • getColor

      public Color getColor()
    • setColor

      public void setColor(Color color)
    • getWidth

      public float getWidth()
    • setWidth

      public void setWidth(float width)
    • getDash

      public float[] getDash()
    • setDash

      public void setDash(float[] dash)
    • getDashPhase

      public float getDashPhase()
    • setDashPhase

      public void setDashPhase(float dashPhase)
    • isAnimated

      public boolean isAnimated()
      Specified by:
      isAnimated in interface OverlayLayer
    • setAnimated

      public void setAnimated(boolean animated)
    • isXorMode

      public boolean isXorMode()
    • setXorMode

      public void setXorMode(boolean xorMode)