Gradient
3 years ago
Surface
3 years ago
Tag
3 years ago
CssLength.php
3 years ago
DefaultStyle.php
3 years ago
Document.php
3 years ago
Style.php
3 years ago
DefaultStyle.php
28 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @package php-svg-lib |
| 5 | * @link http://github.com/PhenX/php-svg-lib |
| 6 | * @author Fabien Ménager <fabien.menager@gmail.com> |
| 7 | * @license GNU LGPLv3+ http://www.gnu.org/copyleft/lesser.html |
| 8 | */ |
| 9 | namespace IAWP\Svg; |
| 10 | |
| 11 | class DefaultStyle extends Style |
| 12 | { |
| 13 | public $color = [0, 0, 0, 1]; |
| 14 | public $opacity = 1.0; |
| 15 | public $display = 'inline'; |
| 16 | public $fill = [0, 0, 0, 1]; |
| 17 | public $fillOpacity = 1.0; |
| 18 | public $fillRule = 'nonzero'; |
| 19 | public $stroke = 'none'; |
| 20 | public $strokeOpacity = 1.0; |
| 21 | public $strokeLinecap = 'butt'; |
| 22 | public $strokeLinejoin = 'miter'; |
| 23 | public $strokeMiterlimit = 4; |
| 24 | public $strokeWidth = 1.0; |
| 25 | public $strokeDasharray = 0; |
| 26 | public $strokeDashoffset = 0; |
| 27 | } |
| 28 |