Text¶
Overview¶
Concrete Class
Supertypes
Members¶
Composition Properties¶
Name |
Multiplicity |
Type |
Ordered |
|
|---|---|---|---|---|
0..1 |
no |
The template that describes how the text is built. |
Data Properties¶
Name |
Multiplicity |
Type |
Ordered |
Unique |
|---|---|---|---|---|
1 |
no |
no |
||
1 |
no |
no |
||
1 |
no |
no |
||
1 |
no |
no |
||
1 |
no |
no |
||
1 |
no |
no |
||
1 |
no |
no |
Alignment¶
Data Property
Type: TextAlignment
Multiplicity: 1
Ordered: no
Unique: no
Example¶
Color¶
Data Property
Type: Color
Multiplicity: 1
Ordered: no
Unique: no
Example¶
B = 0,
G = 0,
R = 0)
Font¶
Data Property
Type: String
Multiplicity: 1
Ordered: no
Unique: no
Example¶
"Calibri"
Position¶
Data Property
Type: Point
Multiplicity: 1
Ordered: no
Unique: no
Example¶
X = 9.7,
Y = 16.64)
Rotation¶
Data Property
Type: Double
Multiplicity: 1
Ordered: no
Unique: no
Example¶
0.0
Size¶
Data Property
Type: Double
Multiplicity: 1
Ordered: no
Unique: no
Example¶
3.0
Template¶
Composition Property
The template that describes how the text is built.
Type: TextTemplate
Multiplicity: 0..1
Ordered: no
Text¶
Data Property
Type: String
Multiplicity: 1
Ordered: no
Unique: no
Example¶
"N1"
Example in DEXPI XML¶
<Object type="Core/Diagram.Text">
<Data property="Alignment">
<DataReference data="Core/Diagram.TextAlignment.CenterBottom"/>
</Data>
<Data property="Color">
<AggregatedDataValue type="Core/Diagram.Color">
<Data property="B">
<Integer>0</Integer>
</Data>
<Data property="G">
<Integer>0</Integer>
</Data>
<Data property="R">
<Integer>0</Integer>
</Data>
</AggregatedDataValue>
</Data>
<Data property="Font">
<String>Calibri</String>
</Data>
<Data property="Position">
<AggregatedDataValue type="Core/Diagram.Point">
<Data property="X">
<Double>9.7</Double>
</Data>
<Data property="Y">
<Double>16.64</Double>
</Data>
</AggregatedDataValue>
</Data>
<Data property="Rotation">
<Double>0.0</Double>
</Data>
<Data property="Size">
<Double>3.0</Double>
</Data>
<Data property="Text">
<String>N1</String>
</Data>
</Object>