Common wrap and stroke attributes
The table lists the common wrap and stroke attributes with their use, (default) value(s), and description.
| Attribute | Use | Values (default in bold) | Description |
| WMode | Implied | 0 1 2 3 4 5 6 7 8 | Wrap mode. 0: No text wrap 1: Jump object 2: Jump to next column 3: Wrap around bounding box 4: Invalid, unimplemented 5: Invalid, unimplemented 6: Wrap around object shape 7: Invalid, unimplemented 8: Invalid, unimplemented |
| WOffset | Implied | top;left;bottom;right;single | Set the margins for text wrap. The default value is 0;0;0;0;0 but in the Publishing Engine) the last value is never used. The code assumes the format is top;left;bottom;right Ex;2;1;2;0; |
| WInvert | Implied | 0 1 | Invert the text wrap path. |
| WSide | Implied | 0 1 2 3 4 5 | Sets the text wrap option "Wrap To". 0: Both Right & Left Sides 1: Left Side 2: Right Side 3: Side Towards Spine 4: Side Away from Spine 5: Largest Area |
| LCap | Implied | 0 1 2 | Sets stroke line Cap. 0: Butt Cap 1: Round Cap 2: Projecting Cap |
| JType | Implied | 0 1 2 | Sets stroke line join type. 0: Miter Join 1: Round Join 2: Bevel Join |
| MLim | Implied | 4 [1,500] | Sets stroke Miter Limit. |
| SAlign | Implied | 0 1 2 | Stroke alignment 0: Align Stroke to Center 1: Align Stroke to Inside 2: Align Stroke to Outside |
| LEnd | Implied | None Simple Bar SquareSolid Square CircleSolid Circle Curved Barbed TriangleWide Triangle SimpleWide | Sets the line end-end style. |
| LStart | Implied | None Simple Bar SquareSolid Square CircleSolid Circle Curved Barbed TriangleWide Triangle SimpleWide | Sets the line end-start style. |
If you have suggestions for improving this article, let us know!