Hatch and Color (Named Data Type)
Revision as of 14:19, 22 March 2022 by Petr.Bures (talk | contribs)
Used to store soil pattern definition, which is used to fill areas with soils in graphs etc.
Template XML definition
| Property | XML | Description |
|---|---|---|
| Settings | [E] Settings
|
Example of Template XML
<Item ID="{331AD61E-8263-4C60-B19D-B937B125F1A6}" ItemType="SoilPattern">
<Name Lang="CS" Text="Vzorek" />
<Settings />
</Item>
Data XML definition
| Property | XML | Description |
|---|---|---|
| Hatch pattern | [A] Hatch | Text identifier of Hatch pattern, in near future here will be definition of then hatch pattern drawing |
| Hatch color | [A] Color | Color of the lines of the Hatch pattern |
| Background color | [A] Background | Background color used to fill area (clNone without fill, clDefault filled with color calculated from Hatch color by saturation)
|
| Background saturation | [A] Saturation | Saturation of the background color for clDefault, range 10% to 90%
|
Example of Data XML
<Item ID="{331AD61E-8263-4C60-B19D-B937B125F1A6}" Hatch="GEO_CLAY" Color="$000000FF" Background="clDefault" Saturation="50" />