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

Class: Image_Graph_Layout_Horizontal

Source Location: /Image_Graph-0.8.0/Graph/Layout/Horizontal.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Element
      |
      --Image_Graph_Plotarea_Element
         |
         --Image_Graph_Layout
            |
            --Image_Graph_Layout_Horizontal

Layout for displaying two elements side by side.


Author(s):

Version:

  • Release: 0.8.0

Copyright:

  • 2003-2009 The PHP Group

Methods


Child classes:

Image_Graph_Layout_Vertical
Layout for displaying two elements on top of each other.

Inherited Variables

Inherited Methods

Class: Image_Graph_Layout

Image_Graph_Layout::Image_Graph_Layout()
Image_Graph_Layout [Constructor]

Class: Image_Graph_Element

Image_Graph_Element::height()
The height of the element on the canvas
Image_Graph_Element::setBackground()
Sets the background fill style of the element
Image_Graph_Element::setBackgroundColor()
Sets the background color of the element.
Image_Graph_Element::setBorderColor()
Sets the border color of the element.
Image_Graph_Element::setBorderStyle()
Sets the border line style of the element
Image_Graph_Element::setFillColor()
Sets the fill color of the element.
Image_Graph_Element::setFillStyle()
Sets the fill style of the element
Image_Graph_Element::setFont()
Sets the font of the element
Image_Graph_Element::setFontAngle()
Sets the font angle
Image_Graph_Element::setFontColor()
Sets the font color
Image_Graph_Element::setFontSize()
Sets the font size
Image_Graph_Element::setLineColor()
Sets the line color of the element.
Image_Graph_Element::setLineStyle()
Sets the line style of the element
Image_Graph_Element::setPadding()
Sets padding of the element
Image_Graph_Element::showShadow()
Shows shadow on the element
Image_Graph_Element::width()
The width of the element on the canvas
Image_Graph_Element::write()
Writes text to the canvas.
Image_Graph_Element::_clip()
Clip the canvas to the coordinates of the element

Class: Image_Graph_Common

Image_Graph_Common::Image_Graph_Common()
Constructor [Image_Graph_Common]
Image_Graph_Common::add()
Adds an element to the objects element list.
Image_Graph_Common::addNew()
Creates an object from the class and adds it to the objects element list.
Image_Graph_Common::hide()
Hide the element

Class Details

[line 55]
Layout for displaying two elements side by side.

This splits the area contained by this element in two, side by side by a specified percentage (relative to the left side). A layout can be nested. Fx. a HorizontalLayout can layout two Image_Graph_Layout_Verticals to make a 2 by 2 matrix of 'element-areas'.



[ Top ]


Method Detail

Image_Graph_Layout_Horizontal (Constructor)   [line 93]

Image_Graph_Layout_Horizontal Image_Graph_Layout_Horizontal( Image_Graph_Element &$part1, Image_Graph_Element &$part2, [int $percentage = 50])

HorizontalLayout [Constructor]

Parameters:

Image_Graph_Element   &$part1   —  The 1st part of the layout
Image_Graph_Element   &$part2   —  The 2nd part of the layout
int   $percentage   —  The percentage of the layout to split at

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:39:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.