Class StripePatternFillLayer
java.lang.Object
com.inductiveautomation.factorypmi.application.components.overlay.StripePatternFillLayer
- All Implemented Interfaces:
OverlayLayer
Fills the area with a solid fill at some transparency level.
-
Constructor Summary
ConstructorsConstructorDescriptionCtor for serializationStripePatternFillLayer(Color color1, Color color2) StripePatternFillLayer(Color color1, Color color2, float alpha) -
Method Summary
Modifier and TypeMethodDescriptionfloatgetWidth()booleanvoidpaintOverlay(JComponent comp, Graphics2D g, Rectangle rect, float animationValue) voidvoidvoidsetWidth(int width)
-
Constructor Details
-
StripePatternFillLayer
-
StripePatternFillLayer
-
StripePatternFillLayer
public StripePatternFillLayer()Ctor for serialization
-
-
Method Details
-
paintOverlay
- Specified by:
paintOverlayin interfaceOverlayLayer
-
getColor1
-
setColor1
-
getColor2
-
setColor2
-
getWidth
public float getWidth() -
setWidth
public void setWidth(int width) -
isAnimated
public boolean isAnimated()- Specified by:
isAnimatedin interfaceOverlayLayer
-