From 61406af166c7c049fb5ddb146e3f43562e6380f9 Mon Sep 17 00:00:00 2001 From: Progi1984 Date: Wed, 9 Jul 2014 08:51:18 +0200 Subject: [PATCH] FIXED : #292 : Update elements.rst --- CHANGELOG.md | 1 + docs/elements.rst | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1ac091e..44bf46db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/docs/elements.rst b/docs/elements.rst index 46db6e40..eae23c9d 100644 --- a/docs/elements.rst +++ b/docs/elements.rst @@ -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