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 TypeMethodDescriptionfloat
getWidth()
boolean
void
paintOverlay
(JComponent comp, Graphics2D g, Rectangle rect, float animationValue) void
void
void
setWidth
(int width)
-
Constructor Details
-
StripePatternFillLayer
-
StripePatternFillLayer
-
StripePatternFillLayer
public StripePatternFillLayer()Ctor for serialization
-
-
Method Details
-
paintOverlay
- Specified by:
paintOverlay
in interfaceOverlayLayer
-
getColor1
-
setColor1
-
getColor2
-
setColor2
-
getWidth
public float getWidth() -
setWidth
public void setWidth(int width) -
isAnimated
public boolean isAnimated()- Specified by:
isAnimated
in interfaceOverlayLayer
-