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

Class: ChartFont

Source Location: /drawing/ChartFont.php

Class Overview

TeeBase
   |
   --ChartFont

ChartFont class


Author(s):

Version:

  • 1.0

Copyright:

  • (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 16]
ChartFont class

Description: Common Chart Font. Font methods used at several objects




Tags:

author:  
version:  1.0
copyright:  (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
link:  http://www.steema.com


[ Top ]


Class Variables

static $DEFAULTFAMILY =  "fonts/verdana.ttf"

[line 32]



Tags:

access:  public

Type:   mixed


[ Top ]

static $DEFAULTSIZE =  8

[line 31]



Tags:

access:  public

Type:   mixed


[ Top ]

$fontCondensed =

[line 34]



Tags:

access:  public

Type:   mixed


[ Top ]

$fontCondensedBold =

[line 35]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


constructor ChartFont [line 39]

ChartFont ChartFont( [ $c = null])



Tags:

access:  public


Parameters:

   $c  

[ Top ]

method assign [line 291]

void assign( $f)



Tags:

access:  public


Parameters:

   $f  

[ Top ]

method getBold [line 143]

boolean getBold( )

Bold Font for text.
Default value: false



Tags:

access:  public


[ Top ]

method getBrush [line 374]

ChartBrush getBrush( )

Sets the Brush characteristics of the font.



Tags:

access:  public


[ Top ]

method getColor [line 246]

Color getColor( )

Defines a Font colour for text.



Tags:

access:  public


[ Top ]

method getFontSize [line 392]

void getFontSize( )



Tags:

access:  public


[ Top ]

method getGradient [line 266]

Gradient getGradient( )

Applies a gradient fill to the font.




Tags:

access:  public


[ Top ]

method getItalic [line 181]

boolean getItalic( )

Italic Font (true or false) for text.
Default value: false



Tags:

access:  public


[ Top ]

method getName [line 62]

String getName( )

Defines a Font type for text.
Default value: Arial



Tags:

access:  public


[ Top ]

method getOutline [line 383]

void getOutline( )



Tags:

access:  public


[ Top ]

method getShadow [line 276]

Shadow getShadow( )

Accesses the shadow properties of the font.



Tags:

access:  public


[ Top ]

method getSize [line 120]

int getSize( )

The Font size (in points) for text.


When managing Font sizes of Drawing Canvas custom outputted text relative to Chart text (titles, labels, etc.), use Font.Height to size the Canvas text.
Default value: 8




Tags:

access:  public


[ Top ]

method getStrikeout [line 225]

boolean getStrikeout( )

Font Strikeout on/off.
Default value: false



Tags:

access:  public


[ Top ]

method getUnderline [line 203]

boolean getUnderline( )

Underline Font for text.
Default value: false



Tags:

access:  public


[ Top ]

method hasOutline [line 106]

void hasOutline( )



[ Top ]

method invalidate [line 94]

void invalidate( )

Use Invalidate when the entire canvas needs to be repainted.


When more than one region within the canvas needs repainting, Invalidate will cause the entire window to be repainted in a single pass, avoiding flicker caused by redundant repaints.
There is no performance penalty for calling Invalidate multiple times before the control is actually repainted.




Tags:

access:  public


Overrides TeeBase::invalidate() (Use invalidate when the entire canvas needs to be repainted.)

[ Top ]

method reset [line 165]

void reset( )



Tags:

access:  public


[ Top ]

method setBold [line 154]

void setBold( value $value)

Sets Font bold for text.
Default value: false



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method setChart [line 352]

void setChart( $c)



Tags:

todo:  INSTEAD OF CREATING IT HERE WITH A SIMPLE "style" value
access:  public


Overrides TeeBase::setChart() (Chart associated with this object.)

Parameters:

   $c  

[ Top ]

method setColor [line 256]

void setColor( value $value)

Defines a Font colour for text.



Tags:

access:  public


Parameters:

value   $value   Color

[ Top ]

method setItalic [line 192]

void setItalic( value $value)

Sets Font italic (true or false) for text.
Default value: false



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method setName [line 73]

void setName( value $value)

Specifies a Font type for text.
Default value: Arial



Tags:

access:  public


Parameters:

value   $value   String

[ Top ]

method setSize [line 132]

void setSize( value $value)

Sets Font sizing (in points) for text.
Default value: 8



Tags:

access:  public


Parameters:

value   $value   int

[ Top ]

method setStrikeout [line 236]

void setStrikeout( value $value)

Sets Font Strikeout on/off.
Default value: false



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method setUnderline [line 214]

void setUnderline( value $value)

Sets Font underline on/off.
Default value: false



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method shouldDrawShadow [line 285]

void shouldDrawShadow( )



Tags:

access:  public


[ Top ]


Documentation generated on Wed, 16 Jun 2010 12:04:19 +0200 by phpDocumentor 1.4.1