Class: modelit.layout.Background

Extends: modelit.layout.AbstractPainter & matlab.mixin.SetGet & handle

DESCRIPTION:

Background of a modelit.layout.Frame

Properties

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.

Public Method: Background

DESCRIPTION:

modelit.layout.Background constructor

CALL:

obj = modelit.layout.Background(varargin)

INPUT:

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

Public Method: delete

DESCRIPTION:

modelit.layout.Background destructor

CALL:

delete(obj)

INPUT:

obj modelit.layout.Background destructor

Public Method: paint

DESCRIPTION:

Paint the background.

CALL:

paint(obj, visible, hax, rect, cliprect)

INPUT:

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

OUTPUT:

   No direct output

Public Method: getInsets

DESCRIPTION:

Get the painter insets Help for modelit.layout.Background/getInsets is inherited from superclass modelit.layout.AbstractPainter

Protected Method: isPainterChanged

Inherited from modelit.layout.AbstractPainter

DESCRIPTION:

Returns if one or more properties have been changed and the painter needs to be reinitialized

CALL:

value = isPainterChanged(obj)

INPUT:

obj modelit.ui.AbstractPainter

OUTPUT:

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

Protected Method: setPainterChanged

Inherited from modelit.layout.AbstractPainter

DESCRIPTION:

Set to true to indicate that one or more properties have been changed and the painter needs to be reinitialized

CALL:

obj = modelit.ui.AbstractPainter(varargin)

INPUT:

obj modelit.ui.AbstractPainter
value boolean
true if one or more properties have been changed and the painter needs to be reinitialized

OUTPUT:

   No output

Help for modelit.layout.Background/setPainterChanged is inherited from superclass modelit.layout.AbstractPainter