Skip to content

Commit

Permalink
FIXED : #292 : Update elements.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 committed Jul 9, 2014
1 parent a23ff4d commit 61406af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ This release added form fields (textinput, checkbox, and dropdown), drawing shap
### Miscellaneous

- Docs: Add known issue on `README` about requirement for temporary folder to be writable and update `samples/index.php` for this requirement check - @ivanlanin GH-238
- Docs: Correct elements.rst about Line - @chrissharkman GH-292
- PclZip: Remove temporary file after used - @andrew-kzoo GH-265
- Autoloader: Add the ability to set the autoloader options - @bskrtich GH-267
- Element: Refactor elements to move set relation Id from container to element - @ivanlanin
Expand Down
4 changes: 2 additions & 2 deletions docs/elements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -404,13 +404,13 @@ Line elements can be added to sections by using ``addLine``.

.. code-block:: php
$linestyle = array('weight' => 1, 'width' => 100, 'height' => 0, 'color' => 635552);
$linestyle = array('weight' => 1, 'width' => 100, 'height' => 0, 'color' => '#b2a68b');
$section->addLine($lineStyle)
Available line style attributes:

- ``weight`` Line width in twips
- ``color`` Defines the color of stroke
- ``color`` Defines the color of stroke. The hex value must be introduced with #.
- ``dash`` Line types: dash, rounddot, squaredot, dashdot, longdash, longdashdot, longdashdotdot
- ``beginArrow`` Start type of arrow: block, open, classic, diamond, oval
- ``endArrow`` End type of arrow: block, open, classic, diamond, ovel
Expand Down

0 comments on commit 61406af

Please sign in to comment.