Class MatteBorderLayer
java.lang.Object
com.inductiveautomation.factorypmi.application.components.overlay.MatteBorderLayer
- All Implemented Interfaces:
OverlayLayer
Fills the area with a solid fill at some transparency level.
-
Constructor Summary
ConstructorsConstructorDescriptionCtor for serializationMatteBorderLayer
(Color color, float alpha, float width) MatteBorderLayer
(Color color, float alpha, float width, float[] dash) -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
float[]
getDash()
float
float
getWidth()
boolean
boolean
void
paintOverlay
(JComponent comp, Graphics2D g, Rectangle rect, float animationValue) void
setAnimated
(boolean animated) void
void
setDash
(float[] dash) void
setDashPhase
(float dashPhase) void
setWidth
(float width) void
setXorMode
(boolean xorMode)
-
Constructor Details
-
MatteBorderLayer
-
MatteBorderLayer
-
MatteBorderLayer
public MatteBorderLayer()Ctor for serialization
-
-
Method Details
-
paintOverlay
- Specified by:
paintOverlay
in interfaceOverlayLayer
-
getColor
-
setColor
-
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 interfaceOverlayLayer
-
setAnimated
public void setAnimated(boolean animated) -
isXorMode
public boolean isXorMode() -
setXorMode
public void setXorMode(boolean xorMode)
-