visit Kofax web site

PlFont Class Reference

List of all members.

Detailed Description

Font object, a font is defined by the font family, size and optional attributes.

Class PlFont represents the element PlFont in PadEntryOptions-dtd as a PHP object


Public Member Functions

 PlFont ($f= 'Helvetica', $s=19, $i=0)
 Constructor.
 readXML (&$xml)
 Read an XML descriptor.
 writeXML (&$xml)
 Write the XML descriptor.

Public Attributes

 $mFace = 'Helvetica'
 Font face name.
 $mFlags = 0
 Font flags, a combination of:
  • PL_FONT_BOLD
  • PL_FONT_ITALIC
  • PL_FONT_UNDERLINE,
  • PL_FONT_STRIKEOUT

 $mSize = 10
 Font size in pt.


Constructor & Destructor Documentation

PlFont.PlFont f = 'Helvetica',
s = 19,
i = 0
 

Constructor.

Parameters:
$f [i] font name
$s [i] size in point
$i flags, see $flags


Member Function Documentation

PlFont.readXML &$  xml  ) 
 

Read an XML descriptor.

PlFont.writeXML &$  xml  ) 
 

Write the XML descriptor.


Member Data Documentation

PlFont.$mFace = 'Helvetica'
 

Font face name.

PlFont.$mFlags = 0
 

Font flags, a combination of:

  • PL_FONT_BOLD
  • PL_FONT_ITALIC
  • PL_FONT_UNDERLINE,
  • PL_FONT_STRIKEOUT

PlFont.$mSize = 10
 

Font size in pt.


The documentation for this class was generated from the following file: