[Prev] [Next] [TOC] [Chapters]

25 Appendix G: Figure Definitions

This appendix provides a reference to defining figures in NED files.

25.1 Built-in Figure Types

The following table lists the figure types supported by OMNeT++.

@figure type

C++ class
line cLineFigure
arc cArcFigure
polyline cPolylineFigure
rectangle cRectangleFigure
oval cOvalFigure
ring cRingFigure
pieslice cPieSliceFigure
polygon cPolygonFigure
path cPathFigure
text cTextFigure
label cLabelFigure
image cImageFigure
icon cIconFigure
pixmap cPixmapFigure
group cGroupFigure

Additional figure types can be defined with the custom:<type> syntax; see FigureType below.

25.2 Attribute Types

This section lists what attribute types exist and their value syntaxes.

25.3 Figure Attributes

This section lists what attributes are accepted by individual figure types. Types enclosed in parentheses are abstract types which cannot be used directly; their sole purpose is to provide a base for more specialized types.



[Prev] [Next] [TOC] [Chapters]