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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Standard equals implementation.fromXML
(RXArchiver anArchiver, RXElement anElement) XML unarchival.boolean
Returns whether to show bottom border.boolean
Returns whether to show left border.boolean
Returns whether to show right border.boolean
Returns whether to show top border.getStrokePath
(RMShape aShape) Returns the path to be stroked, transformed from the input path.void
setShowBottom
(boolean aValue) Sets whether to show bottom border.void
setShowLeft
(boolean aValue) Sets whether to show left border.void
setShowRight
(boolean aValue) Sets whether to show right border.void
setShowTop
(boolean aValue) Sets whether to show top border.toXML
(RXArchiver anArchiver) XML archival.Methods inherited from class com.inductiveautomation.rm.graphics.RMStroke
clone, getBounds, getDashArray, getDashArray, getDashArrayString, getDashArrayString, getDashPhase, getName, getStroke, getWidth, paint, readAttributes, setColor, setDashArray, setDashArrayString, setDashPhase, setWidth
Methods inherited from class com.inductiveautomation.rm.graphics.RMFill
deriveFill, getColor, hasAlpha, toString
Methods inherited from class com.inductiveautomation.rm.base.RMObject
addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange
Methods inherited from class com.inductiveautomation.rm.base.RMListenerList
addListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
Constructor Details
-
RMBorderStroke
public RMBorderStroke()
-
-
Method Details
-
getShowLeft
public boolean getShowLeft()Returns whether to show left border. -
setShowLeft
public void setShowLeft(boolean aValue) Sets whether to show left border. -
getShowRight
public boolean getShowRight()Returns whether to show right border. -
setShowRight
public void setShowRight(boolean aValue) Sets whether to show right border. -
getShowTop
public boolean getShowTop()Returns whether to show top border. -
setShowTop
public void setShowTop(boolean aValue) Sets whether to show top border. -
getShowBottom
public boolean getShowBottom()Returns whether to show bottom border. -
setShowBottom
public void setShowBottom(boolean aValue) Sets whether to show bottom border. -
getStrokePath
Returns the path to be stroked, transformed from the input path.- Overrides:
getStrokePath
in classRMStroke
-
equals
Standard equals implementation. -
toXML
XML archival.- Specified by:
toXML
in interfaceArchivable
- Overrides:
toXML
in classRMStroke
-
fromXML
XML unarchival.- Specified by:
fromXML
in interfaceArchivable
- Overrides:
fromXML
in classRMStroke
-