Свойство | Тип | Описание | |
---|---|---|---|
$font | |||
$fontSize | |||
$stringCommands |
Метод | Описание | |
---|---|---|
__construct ( ) | The "Eps" constructor | |
endEpsDoc ( ) : void | Ends EPS Document | |
getFont ( ) : string | Get the font | |
getFontSize ( ) : string | Get the font Size | |
line ( integer $x_from, integer $y_from, integer $x_to, integer $y_to, integer $lineWidth ) : void | Draw the line | |
moveTo ( integer $x, integer $y ) : void | Set the current point | |
rect ( integer $x_from, integer $y_from, integer $x_to, integer $y_to, integer $lineWidth ) : void | Draw the rectangle | |
setAuthor ( string $value ) : void | Set document author | |
setDate ( string $value ) : void | Set document creation date | |
setFont ( string $value, integer $size ) : void | Set the font and size | |
setOrientation ( string $orientation ) : void | Set document orientation | |
setTitle ( string $value ) : void | Set document title | |
show ( string $text ) : void | Output/Display the text | |
showOutput ( string $fileName ) : void | Output EPS Document for download | |
showXY ( string $text, integer $x, integer $y ) : void | Output the text at specified co-ordinates |
public __construct ( ) |
public getFontSize ( ) : string | ||
Результат | string | return the size of the font e.g 10 |
public line ( integer $x_from, integer $y_from, integer $x_to, integer $y_to, integer $lineWidth ) : void | ||
$x_from | integer | The x_from attribute defines the start left position of the element |
$y_from | integer | The y_from attribute defines the start right position of the element |
$x_to | integer | The x_to attribute defines the end left position of the element |
$y_to | integer | The y_to attribute defines the end right position of the element |
$lineWidth | integer | Sets the width of the line e.g 2 |
Результат | void |
public rect ( integer $x_from, integer $y_from, integer $x_to, integer $y_to, integer $lineWidth ) : void | ||
$x_from | integer | The x_from attribute defines the start left position of the element |
$y_from | integer | The y_from attribute defines the start right position of the element |
$x_to | integer | The x_to attribute defines the end left position of the element |
$y_to | integer | The y_to attribute defines the end right position of the element |
$lineWidth | integer | Sets the width of the line e.g 2 |
Результат | void |
public setOrientation ( string $orientation ) : void | ||
$orientation | string | sets the orientation |
Результат | void |
public showOutput ( string $fileName ) : void | ||
$fileName | string | name of the eps document |
Результат | void |