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/DejaVuSansCondensed.ttf"

[line 32]



Tags:

access:  public

Type:   mixed


[ Top ]

static $DEFAULTSIZE =  11

[line 31]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


constructor ChartFont [line 37]

ChartFont ChartFont( [ $c = null])



Tags:

access:  public


Parameters:

   $c  

[ Top ]

method assign [line 281]

void assign( $f)



Tags:

access:  public


Parameters:

   $f  

[ Top ]

method getBold [line 139]

boolean getBold( )

Bold Font for text.
Default value: false



Tags:

access:  public


[ Top ]

method getBrush [line 364]

ChartBrush getBrush( )

Sets the Brush characteristics of the font.



Tags:

access:  public


[ Top ]

method getColor [line 236]

Color getColor( )

Defines a Font colour for text.



Tags:

access:  public


[ Top ]

method getFontSize [line 382]

void getFontSize( )



Tags:

access:  public


[ Top ]

method getGradient [line 256]

Gradient getGradient( )

Applies a gradient fill to the font.




Tags:

access:  public


[ Top ]

method getItalic [line 171]

boolean getItalic( )

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



Tags:

access:  public


[ Top ]

method getName [line 58]

String getName( )

Defines a Font type for text.
Default value: Arial



Tags:

access:  public


[ Top ]

method getOutline [line 373]

void getOutline( )



Tags:

access:  public


[ Top ]

method getShadow [line 266]

Shadow getShadow( )

Accesses the shadow properties of the font.



Tags:

access:  public


[ Top ]

method getSize [line 116]

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 215]

boolean getStrikeout( )

Font Strikeout on/off.
Default value: false



Tags:

access:  public


[ Top ]

method getUnderline [line 193]

boolean getUnderline( )

Underline Font for text.
Default value: false



Tags:

access:  public


[ Top ]

method hasOutline [line 102]

void hasOutline( )



[ Top ]

method invalidate [line 90]

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 155]

void reset( )



Tags:

access:  public


[ Top ]

method setBold [line 150]

void setBold( value $value)

Sets Font bold for text.
Default value: false



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method setChart [line 342]

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 246]

void setColor( value $value)

Defines a Font colour for text.



Tags:

access:  public


Parameters:

value   $value   Color

[ Top ]

method setItalic [line 182]

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 69]

void setName( value $value)

Specifies a Font type for text.
Default value: Arial



Tags:

access:  public


Parameters:

value   $value   String

[ Top ]

method setSize [line 128]

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 226]

void setStrikeout( value $value)

Sets Font Strikeout on/off.
Default value: false



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method setUnderline [line 204]

void setUnderline( value $value)

Sets Font underline on/off.
Default value: false



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method shouldDrawShadow [line 275]

void shouldDrawShadow( )



Tags:

access:  public


[ Top ]


Documentation generated on Thu, 18 Dec 2008 13:08:37 +0100 by phpDocumentor 1.4.1