FIXED : #292 : Update elements.rst
This commit is contained in:
parent
a23ff4de2f
commit
61406af166
|
|
@ -41,6 +41,7 @@ This release added form fields (textinput, checkbox, and dropdown), drawing shap
|
||||||
### Miscellaneous
|
### 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: 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
|
- PclZip: Remove temporary file after used - @andrew-kzoo GH-265
|
||||||
- Autoloader: Add the ability to set the autoloader options - @bskrtich GH-267
|
- 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
|
- Element: Refactor elements to move set relation Id from container to element - @ivanlanin
|
||||||
|
|
|
||||||
|
|
@ -404,13 +404,13 @@ Line elements can be added to sections by using ``addLine``.
|
||||||
|
|
||||||
.. code-block:: php
|
.. 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)
|
$section->addLine($lineStyle)
|
||||||
|
|
||||||
Available line style attributes:
|
Available line style attributes:
|
||||||
|
|
||||||
- ``weight`` Line width in twips
|
- ``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
|
- ``dash`` Line types: dash, rounddot, squaredot, dashdot, longdash, longdashdot, longdashdotdot
|
||||||
- ``beginArrow`` Start type of arrow: block, open, classic, diamond, oval
|
- ``beginArrow`` Start type of arrow: block, open, classic, diamond, oval
|
||||||
- ``endArrow`` End type of arrow: block, open, classic, diamond, ovel
|
- ``endArrow`` End type of arrow: block, open, classic, diamond, ovel
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue