Path

ez components / documentation / api reference / 2006.2 / graph


eZ Components 2006.2

Graph: ezcGraphFontOptions

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcGraphFontOptions

Class containing the basic options for charts [source]

Parents

ezcBaseOptions
   |
   --ezcGraphFontOptions

Properties

ezcGraphColor read/write  $background
Background color
ezcGraphColor read/write  $border
Border color
int read/write  $borderWidth
Border width
ezcGraphColor read/write  $color
Font color.
float read/write  $maxFontSize
Maximum font size for displayed texts.
float read/write  $minFontSize
Minimum font size for displayed texts.
float read/write  $minimalUsedFont
The minimal used font size for this element.
bool read/write  $minimizeBorder
Fit the border exactly around the text, or use the complete possible space.
string read/write  $name
Name of font.
int read/write  $padding
Padding between text and border
string read/write  $path
Path to font file.
bool read/write  $textShadow
Draw shadow for texts
ezcGraphColor read/write  $textShadowColor
Color of text shadow. If false the inverse color of the text color will be used.
int read/write  $textShadowOffset
Offset for text shadow
string read/write  $type
Type of used font. May be one of the following:
  • TTF_FONT Native TTF fonts
  • PS_FONT PostScript Type1 fonts
  • FT2_FONT FreeType 2 fonts

Member Variables

protected mixed $pathChecked = false

Inherited Member Variables

From ezcBaseOptions:
protected  ezcBaseOptions::$properties

Method Summary

public void __set( $propertyName, $propertyValue )
Set an option value

Inherited Methods

From ezcBaseOptions :
public void ezcBaseOptions::__construct()
Construct a new options object.
public void ezcBaseOptions::merge()
Merge an array into the actual options object.
public bool ezcBaseOptions::offsetExists()
Returns if an option exists.
public mixed ezcBaseOptions::offsetGet()
Returns an option value.
public void ezcBaseOptions::offsetSet()
Set an option.
public void ezcBaseOptions::offsetUnset()
Unset an option.
public mixed ezcBaseOptions::__get()
Property get access.

Methods

__set

void __set( string $propertyName, mixed $propertyValue )
Set an option value

Parameters

Name Type Description
$propertyName string  
$propertyValue mixed  

Throws

ClassDescription
ezcBasePropertyNotFoundException If a property is not defined in this class

Last updated: Thu, 01 Nov 2007