Border with a line for a modelit.layout.Frame
edgecolor | RGB triple: Default value: [0 0 0] | The color of the border line. |
linestyle | '-' (default) | '--' | ':' | '-.' | 'none' | The linestyle of the border. |
linewidth | Integer: Default value: 1 | The width of the border line. |
visible | Boolean: Default value: true | Determines if the painter is visible. |
modelit.layout.LineBorder constructor
obj = modelit.ui.LineBorder(varargin)
varargin | any | parameter-value pairs, see the component properties for a description of the parameters and their values Documentation for modelit.layout.LineBorder/LineBorder doc modelit.layout.LineBorder |
modelit.layout.LineBorder destructor
delete(obj)
obj | any | modelit.layout.LineBorder |
Paint the border
paint(obj, visible, hax, rect, cliprect)
obj | any | modelit.layout.LineBorder |
visible | any | boolean, if false hide the border, if true show the border (only if also the visible property is true) |
hax | any | handle of axis in which to paint |
rect | any | rectangle [left bottom width heigth] with painting area |
cliprect | any | rectangle [left bottom width heigth] with clipping area |
No direct output
Get the insets needed to paint this border
value = getInsets(obj)
obj | any | modelit.layout.LineBorder |
value | any | [1x4] array with insets (in pixels) |
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.LineBorder/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.LineBorder/setPainterChanged is inherited from superclass modelit.layout.AbstractPainter