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

Class: ChartFont

Source Location: /drawing/ChartFont.php

Class Overview

TeeBase
   |
   --ChartFont

ChartFont class


Author(s):

  • Steema Software SL.

Version:

  • 1.0

Copyright:

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

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 25]
ChartFont class

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




Tags:

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


[ Top ]


Class Variables

static $DEFAULTFAMILY =  "fonts/verdana.ttf"

[line 41]



Tags:

access:  public

Type:   mixed


[ Top ]

static $DEFAULTSIZE =  8

[line 40]



Tags:

access:  public

Type:   mixed


[ Top ]

$fontCondensed =

[line 43]



Tags:

access:  public

Type:   mixed


[ Top ]

$fontCondensedBold =

[line 44]



Tags:

access:  public

Type:   mixed


[ Top ]

$Style = ""

[line 45]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


constructor ChartFont [line 49]

ChartFont ChartFont( [ $c = null])



Tags:

access:  public


Parameters:

   $c  

[ Top ]

destructor __destruct [line 66]

void __destruct( )



Tags:

access:  public


Overrides TeeBase::__destruct() (parent method not documented)

[ Top ]

method assign [line 333]

void assign( $f)



Tags:

access:  public


Parameters:

   $f  

[ Top ]

method getBold [line 185]

boolean getBold( )

Bold Font for text.
Default value: false



Tags:

access:  public


[ Top ]

method getBrush [line 416]

ChartBrush getBrush( )

Sets the Brush characteristics of the font.



Tags:

access:  public


[ Top ]

method getColor [line 288]

Color getColor( )

Defines a Font colour for text.



Tags:

access:  public


[ Top ]

method getFontName [line 102]

String getFontName( )

Gets the Font name as text without the path.




Tags:

access:  public


[ Top ]

method getFontSize [line 434]

void getFontSize( )



Tags:

access:  public


[ Top ]

method getGradient [line 308]

Gradient getGradient( )

Applies a gradient fill to the font.




Tags:

access:  public


[ Top ]

method getItalic [line 223]

boolean getItalic( )

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



Tags:

access:  public


[ Top ]

method getName [line 92]

String getName( )

Gets a Font type for text.
Default value: Arial



Tags:

access:  public


[ Top ]

method getOutline [line 425]

void getOutline( )



Tags:

access:  public


[ Top ]

method getShadow [line 318]

Shadow getShadow( )

Accesses the shadow properties of the font.



Tags:

access:  public


[ Top ]

method getSize [line 162]

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

boolean getStrikeout( )

Font Strikeout on/off.
Default value: false



Tags:

access:  public


[ Top ]

method getUnderline [line 245]

boolean getUnderline( )

Underline Font for text.
Default value: false



Tags:

access:  public


[ Top ]

method hasOutline [line 148]

void hasOutline( )



[ Top ]

method invalidate [line 136]

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

void reset( )



Tags:

access:  public


[ Top ]

method setBold [line 196]

void setBold( value $value)

Sets Font bold for text.
Default value: false



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method setChart [line 394]

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

void setColor( value $value)

Defines a Font colour for text.



Tags:

access:  public


Parameters:

value   $value   Color

[ Top ]

method setItalic [line 234]

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

void setName( value $value)

Specifies a Font type for text.
Default value: Arial



Tags:

access:  public


Parameters:

value   $value   String

[ Top ]

method setSize [line 174]

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

void setStrikeout( value $value)

Sets Font Strikeout on/off.
Default value: false



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method setUnderline [line 256]

void setUnderline( value $value)

Sets Font underline on/off.
Default value: false



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method shouldDrawShadow [line 327]

void shouldDrawShadow( )



Tags:

access:  public


[ Top ]


Documentation generated on Mon, 19 Aug 2013 13:42:10 +0200 by phpDocumentor 1.4.3