This item is used to configure elliptical graphical objects. A more detailed definition is done in the sub-elements.
Note:
This figure is derived from figureBase and inherits its properties.
Attribute name | Usage | Attribute values | Default value | Description |
---|---|---|---|---|
figure | required | com.mind8.graph2d.figure.container.Ellipse |
Allowed sub-elements | Quantity |
---|---|
configuration | 0 or 1 |
properties | 0 or 1 |
Note:
Follow the sequence:
Within <figureBase>, <figureContainer>, <figureEllipse>, <figureImage>, <figureLabel> and <figurePolygon> first configure <configuration> and then <properties>.
Example for the definition of the safety circuit as an elliptic object:
<node id="SafetyCircuit"
super="Component"
valid="=isInstanceEO() and
isInstanceOf('BodyShellWork_Architecture.LevelComponents.SafetyCircuit')" acceptedChildren="Function LabelAsSlave">
<figureEllipse figure="com.mind8.graph2d.figure.container.Ellipse">
<properties>
<property id="showLabel">
<read value="true"/>
</property>
<property id="boColor">
<read value="62,12,144"/>
</property>
<property id="transparency">
<read value="80"/>
</property>
<property id="bColor">
<read value="255,255,255"/>
</property>
<property id="boWidth">
<read value="4"/>
</property>
<property id="prefWidth">
<read value="250"/>
</property>
<property id="prefHeight">
<read value="250"/>
</property>
</properties>
</figureEllipse>
<property id="text">
<read value="=$Designation"/>
<write key="value" receiver="=getParameter('Designation')"/>
</property>
</node>
Result:
With the definition in the example code, an instance of the safety circuit is represented in the diagram as an ellipse. The size and shape of the ellipse can be changed by dragging the handles.