---
title: "Common wrap and stroke attributes"
slug: "common-wrap-and-stroke-attributes"
abstract: ""
---
# 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<br><br>1<br><br>2<br><br>3<br><br>4<br><br>5<br><br>6<br><br>7<br><br>8 | Wrap mode.<br><br>0: No text wrap<br><br>1: Jump object<br><br>2: Jump to next column<br><br>3: Wrap around bounding box<br><br>4: Invalid, unimplemented<br><br>5: Invalid, unimplemented<br><br>6: Wrap around object shape<br><br>7: Invalid, unimplemented<br><br>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<br><br>Ex:1;2;1;2;0; |
| WInvert | Implied | **0**<br><br>1 | Invert the text wrap path. |
| WSide | Implied | 0<br><br>1<br><br>2<br><br>3<br><br>4<br><br>5 | Sets the text wrap option "Wrap To".<br><br>0: Both Right & Left Sides<br><br>1: Left Side<br><br>2: Right Side<br><br>3: Side Towards Spine<br><br>4: Side Away from Spine<br><br>5: Largest Area |
| LCap | Implied | **0**<br><br>1<br><br>2 | Sets stroke line Cap.<br><br>0: Butt Cap<br><br>1: Round Cap<br><br>2: Projecting Cap |
| JType | Implied | **0**<br><br>1<br><br>2 | Sets stroke line join type.<br><br>0: Miter Join<br><br>1: Round Join<br><br>2: Bevel Join |
| MLim | Implied | **4**<br><br>\[1,500\] | Sets stroke Miter Limit. |
| SAlign | Implied | **0**<br><br>1<br><br>2 | Stroke alignment<br><br>0: Align Stroke to Center<br><br>1: Align Stroke to Inside<br><br>2: Align Stroke to Outside |
| LEnd | Implied | **None**<br><br>Simple<br><br>Bar<br><br>SquareSolid<br><br>Square<br><br>CircleSolid<br><br>Circle<br><br>Curved<br><br>Barbed<br><br>TriangleWide<br><br>Triangle<br><br>SimpleWide | Sets the line end-end style. |
| LStart | Implied | **None**<br><br>Simple<br><br>Bar<br><br>SquareSolid<br><br>Square<br><br>CircleSolid<br><br>Circle<br><br>Curved<br><br>Barbed<br><br>TriangleWide<br><br>Triangle<br><br>SimpleWide | Sets the line end-start style. |