linea21-core
[ class tree: linea21-core ] [ index: linea21-core ] [ all elements ]

Class: codimage

Source Location: /class/system/class.codimage.php

Class Overview




Author(s):

Version:

  • $id SVN

Variables

Methods



Class Details

[line 12]


Tags:

author:  linea21 <info@linea21.com>
version:  $id SVN
access:  public
license:  Generate code-image


[ Top ]


Class Variables

$ANGLE = 0

[line 19]


Type:   mixed


[ Top ]

$BACKGROUND_COLOR =

[line 24]


Type:   mixed


[ Top ]

$CURRENT_IMG =

[line 15]


Type:   mixed


[ Top ]

$FONT = "../class/system/artichow/font/Vera.ttf"

[line 18]


Type:   mixed


[ Top ]

$FONT_COLOR =

[line 25]


Type:   mixed


[ Top ]

$FONT_SIZE = 16

[line 17]


Type:   mixed


[ Top ]

$IMG_SRC = "../templates/admin/default/images/security_fili.png"

[line 16]


Type:   mixed


[ Top ]

$PADDING_X = 10

[line 20]


Type:   mixed


[ Top ]

$PADDING_Y = 10

[line 21]


Type:   mixed


[ Top ]

$TEXT = 5

[line 23]


Type:   mixed


[ Top ]

$TEXT_LENGTH = 5

[line 22]


Type:   mixed


[ Top ]



Class Methods


constructor codimage [line 27]

codimage codimage( )



[ Top ]

method GetBackgroundColor [line 45]

void GetBackgroundColor( )



[ Top ]

method GetFontColor [line 83]

void GetFontColor( )



[ Top ]

method GetRandomText [line 55]

void GetRandomText( )



[ Top ]

method Output [line 39]

void Output( )



[ Top ]

method SetBackgroundColor [line 50]

void SetBackgroundColor( [ $r = 200], [ $v = 200], [ $b = 200])



Parameters:

   $r  
   $v  
   $b  

[ Top ]

method SetFontColor [line 88]

void SetFontColor( [ $r = 0], [ $v = 0], [ $b = 0])



Parameters:

   $r  
   $v  
   $b  

[ Top ]

method SetFontSize [line 65]

void SetFontSize( $size)



Parameters:

   $size  

[ Top ]

method SetPaddingX [line 71]

void SetPaddingX( $pad)



Parameters:

   $pad  

[ Top ]

method SetPaddingY [line 77]

void SetPaddingY( $pad)



Parameters:

   $pad  

[ Top ]


Documentation generated on Fri, 16 Oct 2009 09:29:07 +0200 by phpDocumentor 1.4.1