Source for file DashStyle.php
Documentation is available at DashStyle.php
* Description: Dash styles
* @copyright (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
* @link http://www.steema.com
public static $SOLID = 0;
public static $DASHDOT = 3;
public static $DASHDOTDOT = 4;
return self::$DASHDOTDOT;
* Returns an array of values that determines the number of filled and
* non-filled pixels of the Pen dash.
public function getDash() {
switch ($this->getValue()) {
return new float[] {$this->dashWidth, $this->dashWidth};
return new float[] {$this->dashWidth * 3, $this->dashWidth};
return new float[] {$this->dashWidth * 3, $this->dashWidth, $this->dashWidth, $this->dashWidth};
return new float[] {$this->dashWidth * 3, $this->dashWidth, $this->dashWidth, $this->dashWidth, $this->dashWidth, $this->dashWidth};
|