[ class tree: phpchartPlus ] [ index: phpchartPlus ] [ all elements ]

Class: Chunk

Source Location: /Circle.php

Class Overview


Subsidiary class utilized by the PieChart class


Author(s):

Variables

Methods



Class Details

[line 21]
Subsidiary class utilized by the PieChart class



Tags:

license:  GNU Public License
author:  Tsiavos Chris <jaames@freemail.gr>


[ Top ]


Class Variables

$Angle =

[line 28]

the size of the chunk in degrees



Tags:

access:  private

Type:   integer


[ Top ]

$Caption =

[line 35]

the caption of the chunk



Tags:

access:  private

Type:   string


[ Top ]

$CaptionColor =

[line 41]



Tags:

access:  private

Type:   string


[ Top ]

$FinishColor =

[line 57]

the finishing color of the chunk. If $FinishColor

is different from $StartColor then a gradient color chunk will be drawn




Tags:

access:  private

Type:   string


[ Top ]

$Font =

[line 64]

the Font instance used for drawing the chunk's caption



Tags:

access:  private

Type:   Font


[ Top ]

$StartColor =

[line 48]

the starting color of the chunk



Tags:

access:  private

Type:   string


[ Top ]



Class Methods


method get_Angle [line 81]

integer get_Angle( )

Returns (in degrees) the size of the chunk



Tags:

access:  public


[ Top ]

method get_Caption [line 104]

string get_Caption( )

Returns the caption of the chunk



Tags:

access:  public


[ Top ]

method get_CaptionColor [line 113]

string get_CaptionColor( )

Returns the font color of the chunk's caption



Tags:

access:  public


[ Top ]

method get_FinishColor [line 144]

string get_FinishColor( )

Returns the finishing color of the chunk



Tags:

access:  public


[ Top ]

method get_Font [line 153]

void get_Font( )

Returns the Font instance used for drawing the caption of the chunk



Tags:

access:  public


[ Top ]

method get_StartColor [line 135]

string get_StartColor( )

Returns the starting color of the chunk



Tags:

access:  public


[ Top ]

method set_Angle [line 72]

void set_Angle( integer $Degree)

Sets the size of the chunk in degrees



Tags:

access:  public


Parameters:

integer   $Degree  

[ Top ]

method set_Caption [line 93]

void set_Caption( Font &$Font, string $Caption, string $CaptionColor)

Sets the caption of the chunk



Tags:

access:  public


Parameters:

Font   &$Font  
string   $Caption  
string   $CaptionColor  

[ Top ]

method set_Color [line 125]

void set_Color( string $StartColor, string $FinishColor)

Sets the color the chunk will be filled in.



Tags:

access:  public


Parameters:

string   $StartColor   The starting color of the chunk
string   $FinishColor   The finishing color of the chunk.If $StartColor is different from $FinishColor then a gradient color will be alllocated

[ Top ]


Documentation generated on Sun, 3 Oct 2004 14:59:00 +0300 by phpDocumentor 1.3.0RC3