| Total Complexity | 7 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class LineProperty |
||
| 14 | { |
||
| 15 | public $iWeight = 1; |
||
| 16 | public $iColor = 'black'; |
||
| 17 | public $iStyle = 'solid'; |
||
| 18 | public $iShow = false; |
||
| 19 | |||
| 20 | public function __construct($aWeight = 1, $aColor = 'black', $aStyle = 'solid') |
||
| 21 | { |
||
| 22 | $this->iWeight = $aWeight; |
||
| 23 | $this->iColor = $aColor; |
||
| 24 | $this->iStyle = $aStyle; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function SetColor($aColor) |
||
| 28 | { |
||
| 29 | $this->iColor = $aColor; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function SetWeight($aWeight) |
||
| 33 | { |
||
| 34 | $this->iWeight = $aWeight; |
||
| 35 | } |
||
| 36 | |||
| 37 | public function SetStyle($aStyle) |
||
| 40 | } |
||
| 41 | |||
| 42 | public function Show($aShow = true) |
||
| 45 | } |
||
| 46 | |||
| 47 | public function Stroke($aImg, $aX1, $aY1, $aX2, $aY2) |
||
| 59 | } |
||
| 60 | } |
||
| 62 |