Use this dialog to define a new fill pattern.

Segment list

The fill pattern is defined by one or more description lines. Each line is in the following form:

AttenzioneSyntax:
<angle>, <x origin>, <y origin>, <delta x>, <delta y> [,<dash>]*

The individual numbers in the sequence must be separated by at least one space character or a comma. The angle is in degrees and the lengths are expressed in millimetres.

The pattern consists of one or more lines. Each line is considered the first member of a family of parallel lines that is generated by drawing the first one and applying a translation in both directions. The delta value y indicates the spacing between family members perpendicular to the lines. Delta x provides the translation between the lines in the direction of the line itself. This value has meaning if it produces a visible effect, on continuous lines it would be useless, while on dashed lines, the dashes themselves, staggered from one line to another, produce a visible effect.

Terms describing the line hatching (dash) are optional and should only be indicated in the case of dashed lines. Hatching is defined by a series of numbers that specify the lengths of the individual strokes. Each dash length specifies a segment that will make up the line. If the value indicating the length is positive, the segment is drawn; if the value is negative, the segment is not drawn, but instead there will be a space equal in length to that specified. The pattern starts with its first segment, from the point of origin, by drawing the specified segments in a cyclic way. A hyphen length equal to zero causes a point to be drawn.

Example:

To define a pattern with 45-degree sloping lines and 5 millimeter spacing, specify the sequence:

45, 0, 0, 0, 5

This notation indicates that the lines must be drawn at an angle of 45 degrees, that the first filling line must pass through the point (0.0), and that the spacing between the lines is 5 millimetres.

To the previous pattern are added the indications for the segments of the dotted line specifying a length of the section of 5 millimetres and that of the space of even 5 millimetres:

45, 0, 0, 0, 5, 5, -5

This notation generates dashed lines with 5 mm long segments, 5 mm line spacing and 45 degree lines.

If the pattern is described with several lines, very complex filling patterns can be obtained. The following is a description of a filling pattern consisting of squares of 5 mm side.

90 0 0 0 10 5 -5
0 0 5 0 10 5 -5
270 5 5 0 10 5 -5
0 0 0 0 10 5 -5

Description

Specify a description of the texture type.

See also