Shape drawing definition

From wiki.fine.cz
Revision as of 09:36, 1 June 2022 by Jan.Gajdosik (talk | contribs)
Jump to navigation Jump to search

Definition of shape drawn

Data XML definition

Property XML Description Default
Line type [A] Type Type of line defined as StandardLine or ElemeLine (empty)

<ShapeDefinition WidthToHeightRatio="2" DefaultAlign="Center" DefaultColor="$00FF0000">

  <ElemShapes>

    <ElemShape Kind="Line" Color="clDefault" LineWidth="nan" Mirror="true">

      <Pt1 X="0" Y="0" />

      <Pt2 X="0.5" Y="0" />

    </ElemShape>

    <ElemShape Kind="Polygon" Color="clDefault" FillColor="$00FFC0C0" LineWidth="nan" Mirror="false">

      <Points>

        <Pt X="0.5" Y="0" />

        <Pt X="0.75" Y="1" />

        <Pt X="0.25" Y="1" />

      </Points>

    </ElemShape>

  </ElemShapes>

  <DefaultLineWidth Size="0.2" />

  <DefaultTextHeight Size="3" />

</ShapeDefinition>