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

Class: Dimension

Source Location: /Dimension.php

Class Overview


Dimension class


Author(s):

Version:

  • 1.0

Copyright:

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

Variables

Methods



Class Details

[line 15]
Dimension class

Description:




Tags:

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


[ Top ]


Class Variables

$height =

[line 46]

The height dimension; negative values can be used.



Tags:

see:  #getSize
see:  #setSize
access:  public

Type:   mixed


[ Top ]

$width =

[line 38]

The width dimension; negative values can be used.



Tags:

see:  #getSize
see:  #setSize
access:  public

Type:   mixed


[ Top ]



Class Methods


constructor Dimension [line 55]

Dimension Dimension( [width $width = 0], [height $height = 0])

Constructs a
and initializes it to the specified width and specified height.



Tags:

access:  public


Parameters:

width   $width   the specified width
height   $height   the specified height

[ Top ]

method equals [line 106]

void equals( $obj)

Checks whether two dimension objects have equal values.



Tags:

access:  public


Parameters:

   $obj  

[ Top ]

method getHeight [line 72]

the getHeight( )

Returns the height of this dimension in double precision.



Tags:

return:  height of this dimension in double precision
access:  public


[ Top ]

method getSize [line 99]

the getSize( )

Gets the size of this
object.

This method is included for completeness, to parallel the

method defined by
  1. Component
.




Tags:

return:  size of this dimension, a new instance of
with the same width and height
access:  public


[ Top ]

method getWidth [line 64]

the getWidth( )

Returns the width of this dimension in double precision.



Tags:

return:  width of this dimension in double precision
access:  public


[ Top ]

method hashCode [line 119]

a hashCode( )

Returns the hash code for this
.



Tags:

return:  hash code for this
access:  public


[ Top ]

method setSize [line 86]

void setSize( width $width, height $height)

Sets the size of this
object to the specified width and height in double precision.

Note that if

or
are larger than
  1. Integer.MAX_VALUE
, they will be reset to
  1. Integer.MAX_VALUE
.




Tags:

access:  public


Parameters:

width   $width   the new width for the
object
height   $height   the new height for the
object

[ Top ]

method __get [line 18]

void __get( $property)



Parameters:

   $property  

[ Top ]

method __set [line 25]

void __set( $property, $value)



Parameters:

   $property  
   $value  

[ Top ]


Documentation generated on Wed, 16 Jun 2010 12:05:05 +0200 by phpDocumentor 1.4.1