[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 354 lignes (13 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Horde_Image_svg:: (17 méthodes):
Horde_Image_svg()
getContentType()
getLink()
display()
raw()
getFont()
_createSymbol()
_createDropShadow()
text()
circle()
polygon()
rectangle()
roundedRectangle()
line()
dashedLine()
polyline()
arc()
Classe: Horde_Image_svg - X-Ref
This class implements the Horde_Image:: API for SVG.Horde_Image_svg($params) X-Ref |
Capabilites of this driver. |
getContentType() X-Ref |
Pas de description |
getLink($url, $title = '') X-Ref |
Pas de description |
display() X-Ref |
Pas de description |
raw() X-Ref |
Return the raw data for this image. return: string The raw image data. |
getFont($font) X-Ref |
Pas de description |
_createSymbol($s, $id) X-Ref |
Pas de description |
_createDropShadow($id = 'dropShadow') X-Ref |
Pas de description |
text($string, $x, $y, $font = 'monospace', $color = 'black', $direction = 0) X-Ref |
Draws a text string on the image in a specified location, with the specified style information. param: string $text The text to draw. param: integer $x The left x coordinate of the start of the text string. param: integer $y The top y coordinate of the start of the text string. param: string $font The font identifier you want to use for the text. param: string $color The color that you want the text displayed in. param: integer $direction An integer that specifies the orientation of the text. |
circle($x, $y, $r, $color, $fill = null) X-Ref |
Draw a circle. param: integer $x The x coordinate of the centre. param: integer $y The y coordinate of the centre. param: integer $r The radius of the circle. param: string $color The line color of the circle. param: string $fill The color to fill the circle. |
polygon($verts, $color, $fill = null) X-Ref |
Draw a polygon based on a set of vertices. param: array $vertices An array of x and y labeled arrays param: string $color The color you want to draw the polygon with. param: string $fill The color to fill the polygon. |
rectangle($x, $y, $width, $height, $color, $fill = null) X-Ref |
Draw a rectangle. param: integer $x The left x-coordinate of the rectangle. param: integer $y The top y-coordinate of the rectangle. param: integer $width The width of the rectangle. param: integer $height The height of the rectangle. param: string $color The line color of the rectangle. param: string $fill The color to fill the rectangle. |
roundedRectangle($x, $y, $width, $height, $round, $color, $fill) X-Ref |
Draw a rectangle. param: integer $x The left x-coordinate of the rectangle. param: integer $y The top y-coordinate of the rectangle. param: integer $width The width of the rectangle. param: integer $height The height of the rectangle. param: integer $round The width of the corner rounding. param: string $color The line color of the rectangle. param: string $fill The color to fill the rectangle. |
line($x1, $y1, $x2, $y2, $color = 'black', $width = 1) X-Ref |
Draw a line. param: integer $x0 The x coordinate of the start. param: integer $y0 The y coordinate of the start. param: integer $x1 The x coordinate of the end. param: integer $y1 The y coordinate of the end. param: string $color The line color. param: string $width The width of the line. |
dashedLine($x1, $y1, $x2, $y2, $color = 'black', $width = 1, $dash_length = 2, $dash_space = 2) X-Ref |
Draw a dashed line. param: integer $x0 The x coordinate of the start. param: integer $y0 The y coordinate of the start. param: integer $x1 The x coordinate of the end. param: integer $y1 The y coordinate of the end. param: string $color The line color. param: string $width The width of the line. param: integer $dash_length The length of a dash on the dashed line param: integer $dash_space The length of a space in the dashed line |
polyline($verts, $color, $width = 1) X-Ref |
Draw a polyline (a non-closed, non-filled polygon) based on a set of vertices. param: array $vertices An array of x and y labeled arrays param: string $color The color you want to draw the line with. param: string $width The width of the line. |
arc($x, $y, $r, $start, $end, $color = 'black', $fill = null) X-Ref |
Draw an arc. param: integer $x The x coordinate of the centre. param: integer $y The y coordinate of the centre. param: integer $r The radius of the arc. param: integer $start The start angle of the arc. param: integer $end The end angle of the arc. param: string $color The line color of the arc. param: string $fill The fill color of the arc (defaults to none). |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |