Class FontSP

Description

The FontSP represents the 'font' StyleProperty.

A StyleProperty (SP) is one of the tree building pieces of CSS styles. It stores information about a single CSS style property by storing one or more

  1. StyleComponents
.

The other two CSS styles building pieces are

  1. StyleComponents
and
  1. StyleCollections
.

  • version: $Id: FontSP.class.php,v 1.7 2006/06/02 15:56:07 cws-midd Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College

Located in /harmoni/core/GUIManager/StyleProperties/FontSP.class.php (line 27)

StylePropertyInterface
   |
   --StyleProperty
      |
      --FontSP
Method Summary
FontSP FontSP ([string $family = null], [string $size = null], [optional $style = null], [optional $weight = null], [optional $variant = null])
Variables
Methods
Constructor FontSP (line 39)

The constructor. All parameters but size and family could be null, in which case they will not be taken in consideration.

  • access: public
FontSP FontSP ([string $family = null], [string $size = null], [optional $style = null], [optional $weight = null], [optional $variant = null])
  • string $family: family The font family.
  • string $size: size The font size.
  • optional $style: string style The font style.
  • optional $weight: string weight The font weight.
  • optional $variant: string variant The font variant.

Inherited Methods

Inherited From StyleProperty

StyleProperty::StyleProperty()
StyleProperty::addSC()
StyleProperty::getCSS()
StyleProperty::getDescription()
StyleProperty::getDisplayName()
StyleProperty::getId()
StyleProperty::getName()
StyleProperty::getPostHTML()
StyleProperty::getPreHTML()
StyleProperty::getSCList()
StyleProperty::getSCs()
StyleProperty::getStyleComponent()
StyleProperty::setId()

Inherited From StylePropertyInterface

StylePropertyInterface::addSC()
StylePropertyInterface::getCSS()
StylePropertyInterface::getDescription()
StylePropertyInterface::getDisplayName()
StylePropertyInterface::getName()
StylePropertyInterface::getSCs()

Documentation generated on Wed, 19 Sep 2007 10:23:19 -0400 by phpDocumentor 1.3.0RC3