Attributes of simple Graphic Objects

SUMMARY

Attributes of simple Graphic Objects

CONTENTS

  1. Attributes

Attributes

The names of the attributes used in XML-Files, Refresh- and Action-Scripts are denoted in brackets.

Line Color (LineColor)
Defines the color of a line or contour.
Note:
The Color must be defined in a Color Palette.

Line Width (LineWidth)
The width of a line or contour at zoom level 1,0. (e.g. in a XML-Files) If pictures are zoomed lines become thicker or thinner. If Line Width is 0, the width of a line or contour is always 1 pixel, independent of the zoom level.

Line Style (LineStyle)
Line Styles:
Value (e.g. in Skripts) Symbol (e.g. in XML-Files) Muster
0 PS_SOLID _______
1 PS_DASH -----------
2 PS_DOT ...............
3 PS_DASHDOT _._._._._.
4 PS_ASHDOTDOT _.._.._.._..

Fill Color (FillColor)
Fill Pattern Type Use of Fill Color
no pattern graphic object is filled with that color
transparent pattern Pattern lines drawn in that color
Bitmap-pattern Color is ignored
Note:
The Color must be defined in a Color Palette.

Fill Pattern Type (FillPatternType)
Value (e.g. in Skripts) Symbol (e.g. in XML-Files) Text Description
0 BS_SOLID no pattern The graphic object is filled with the Fill Color
2 BS_HATCHED Transparent Pattern The graphic object is filled with a hachure. Objects behind can be seen between the lines. The line pattern is defined by the properties of the fill pattern. The color of the lines is defined by the properties of the fill color. The pattern is arranged in a way that adjacent graphic objects with the same pattern hook. The distance of lines in a pattern depends on the zoom level.
3 BS_PATTERN Bitmap pattern The graphic object is filled with a bitmap. The bitmap is defined via “fill bitmap”. Bitmaps are always displayed as tile pattern; bitmaps smaller than the graphic object are multiple-displayed. The bitmap tiles are arranged in a way that adjacent graphic objects with the same bitmap tiles hook. That’s the reason the left top corner of a graphic object does not match with the left top corner of the bitmap.

Fill Pattern (HatchType)
Value (e.g. in Skripts) Symbol (e.g. in XML-Files) Pattern
0 HS_HORIZONTAL horizontal:- - - - -
1 HS_VERTICAL vertical:| | | | |
2 HS_FDIAGONAL diagonal left top to right bottom: \ \ \ \ \
3 HS_BDIAGONAL diagonal right top to left bottom: / / / / /
4 HS_CROSS Cross: + + + + +
5 HS_DIAGCROSS diagonal cross: x x x x x

Bitmap Pattern (PatternBitmap)
The file must be in a subdirectory of the project folder.
Note:
The path to the Bitmap-File is save relatively to the project folder.

Attribute Condition Table (AttrCondTable)
The Attribute Condition Table to change properties like Line-Color, Fill-Color, Line-Width, Line-Type can be selected. Attribute Condition Tables are used by refresh scripts.

Attribute Condition Variable (AttrCond)
The variable whose value is taken to select the entry in an Attribute Condition Table.