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

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

    • StripePatternFillLayer

      public StripePatternFillLayer(Color color1, Color color2, float alpha)
    • StripePatternFillLayer

      public StripePatternFillLayer(Color color1, Color color2)
    • StripePatternFillLayer

      public StripePatternFillLayer()
      Ctor for serialization
  • Method Details

    • paintOverlay

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

      public Color getColor1()
    • setColor1

      public void setColor1(Color color1)
    • getColor2

      public Color getColor2()
    • setColor2

      public void setColor2(Color color2)
    • getWidth

      public float getWidth()
    • setWidth

      public void setWidth(int width)
    • isAnimated

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