Background of a modelit.layout.Frame
edgecolor | RGB triple: Default value: [0 0 0] | The color of the edge. |
facecolor | RGB triple or matlab color code: Default value: 'none' | The color of the face. |
linestyle | '-' (default) | '--' | ':' | '-.' | 'none' | The linestyle of the edge. |
linewidth | Integer, default value: 1 | The linewidth of the edge. |
visible | Boolean: Default value: true | Determines if the painter is visible. |
modelit.layout.Background constructor
obj = modelit.layout.Background(varargin)
varargin | parameter-value pairs | see the component properties for a description of the parameters and their values Documentation for modelit.layout.Background/Background doc modelit.layout.Background |
modelit.layout.Background destructor
delete(obj)
obj | modelit.layout.Background destructor |
Paint the background.
paint(obj, visible, hax, rect, cliprect)
obj | modelit.layout.Background | |
hax | handle | handle of axis in which to paint |
rect | rectangle [left bottom width heigth] | with painting area, or empty if painting area is unchanged cliprect: rectangle [left bottom width heigth] with clipping area |
No direct output
Get the painter insets Help for modelit.layout.Background/getInsets is inherited from superclass modelit.layout.AbstractPainter
Returns if one or more properties have been changed and the painter needs to be reinitialized
value = isPainterChanged(obj)
obj | modelit.ui.AbstractPainter |
value | boolean | true if one or more properties have been changed and the painter needs to be reinitialized Help for modelit.layout.Background/isPainterChanged is inherited from superclass modelit.layout.AbstractPainter |
Set to true to indicate that one or more properties have been changed and the painter needs to be reinitialized
obj = modelit.ui.AbstractPainter(varargin)
obj | modelit.ui.AbstractPainter | |
value | boolean | true if one or more properties have been changed and the painter needs to be reinitialized |
No output Help for modelit.layout.Background/setPainterChanged is inherited from superclass modelit.layout.AbstractPainter