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()floatfloatgetWidth()booleanbooleanvoidpaintOverlay(JComponent comp, Graphics2D g, Rectangle rect, float animationValue) voidsetAnimated(boolean animated) voidvoidsetDash(float[] dash) voidsetDashPhase(float dashPhase) voidsetWidth(float width) voidsetXorMode(boolean xorMode)
-
Constructor Details
-
MatteBorderLayer
-
MatteBorderLayer
-
MatteBorderLayer
public MatteBorderLayer()Ctor for serialization
-
-
Method Details
-
paintOverlay
- Specified by:
paintOverlayin 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:
isAnimatedin interfaceOverlayLayer
-
setAnimated
public void setAnimated(boolean animated) -
isXorMode
public boolean isXorMode() -
setXorMode
public void setXorMode(boolean xorMode)
-