Class RMBorderStroke
java.lang.Object
com.inductiveautomation.rm.base.RMListenerList
com.inductiveautomation.rm.base.RMObject
com.inductiveautomation.rm.graphics.RMFill
com.inductiveautomation.rm.graphics.RMStroke
com.inductiveautomation.rm.graphics.RMBorderStroke
- All Implemented Interfaces:
- Archivable,- RMPropertyChanger,- Cloneable
This stroke subclass strokes the rectangular border of a given shape, with option include/exclude individual sides.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanStandard equals implementation.fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.booleanReturns whether to show bottom border.booleanReturns whether to show left border.booleanReturns whether to show right border.booleanReturns whether to show top border.getStrokePath(RMShape aShape) Returns the path to be stroked, transformed from the input path.voidsetShowBottom(boolean aValue) Sets whether to show bottom border.voidsetShowLeft(boolean aValue) Sets whether to show left border.voidsetShowRight(boolean aValue) Sets whether to show right border.voidsetShowTop(boolean aValue) Sets whether to show top border.toXML(RXArchiver anArchiver) XML archival.Methods inherited from class com.inductiveautomation.rm.graphics.RMStrokeclone, getBounds, getDashArray, getDashArray, getDashArrayString, getDashArrayString, getDashPhase, getName, getStroke, getWidth, paint, readAttributes, setColor, setDashArray, setDashArrayString, setDashPhase, setWidthMethods inherited from class com.inductiveautomation.rm.graphics.RMFillderiveFill, getColor, hasAlpha, toStringMethods inherited from class com.inductiveautomation.rm.base.RMObjectaddPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeMethods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
- 
Constructor Details- 
RMBorderStrokepublic RMBorderStroke()
 
- 
- 
Method Details- 
getShowLeftpublic boolean getShowLeft()Returns whether to show left border.
- 
setShowLeftpublic void setShowLeft(boolean aValue) Sets whether to show left border.
- 
getShowRightpublic boolean getShowRight()Returns whether to show right border.
- 
setShowRightpublic void setShowRight(boolean aValue) Sets whether to show right border.
- 
getShowToppublic boolean getShowTop()Returns whether to show top border.
- 
setShowToppublic void setShowTop(boolean aValue) Sets whether to show top border.
- 
getShowBottompublic boolean getShowBottom()Returns whether to show bottom border.
- 
setShowBottompublic void setShowBottom(boolean aValue) Sets whether to show bottom border.
- 
getStrokePathReturns the path to be stroked, transformed from the input path.- Overrides:
- getStrokePathin class- RMStroke
 
- 
equalsStandard equals implementation.
- 
toXMLXML archival.- Specified by:
- toXMLin interface- Archivable
- Overrides:
- toXMLin class- RMStroke
 
- 
fromXMLXML unarchival.- Specified by:
- fromXMLin interface- Archivable
- Overrides:
- fromXMLin class- RMStroke
 
 
-