Text

Core::Diagram::Text

Overview

Concrete Class

(Fullscreen Diagram)

GraphicalElementGraphicalPrimitiveTextAlignment :TextAlignmentColor :ColorFont :StringPosition :PointRotation :DoubleSize :DoubleText :StringTextTemplateTemplate0..10..1

Supertypes

Members

Composition Properties

Name

Multiplicity

Type

Ordered

Template

0..1

TextTemplate

no

The template that describes how the text is built.

Data Properties

Name

Multiplicity

Type

Ordered

Unique

Alignment

1

TextAlignment

no

no

Color

1

Color

no

no

Font

1

String

no

no

Position

1

Point

no

no

Rotation

1

Double

no

no

Size

1

Double

no

no

Text

1

String

no

no

Alignment

Data Property

Type: TextAlignment

Multiplicity: 1

Ordered: no

Unique: no

Example

CenterBottom

Color

Data Property

Type: Color

Multiplicity: 1

Ordered: no

Unique: no

Example

Color(

     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

Point(

     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>