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

Class: TeeShape

Source Location: /TeeShape.php

Class Overview

TeeBase
   |
   --TeeShape

Shape class


Author(s):

  • Steema Software SL.

Version:

  • 1.0

Copyright:

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

Variables

Methods


Child classes:

TeePanel
TeePanel class
TextShape
TextShape class
Wall
Wall class

Inherited Variables

Inherited Methods


Class Details

[line 23]
Shape class

Description: Base class for Chart Shape elements




Tags:

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


[ Top ]


Class Variables

$bBevel = null

[line 29]



Tags:

access:  protected

Type:   mixed


[ Top ]

$bBorderRound = 0

[line 34]



Tags:

access:  protected

Type:   mixed


[ Top ]

$bBrush = null

[line 32]



Tags:

access:  protected

Type:   mixed


[ Top ]

$bImageBevel = null

[line 31]



Tags:

access:  protected

Type:   mixed


[ Top ]

$bTransparent = false

[line 27]



Tags:

access:  protected

Type:   mixed


[ Top ]

$defaultVisible = true

[line 25]



Tags:

access:  protected

Type:   mixed


[ Top ]

$pPen = null

[line 28]



Tags:

access:  protected

Type:   mixed


[ Top ]

$shadow = null

[line 30]



Tags:

access:  protected

Type:   mixed


[ Top ]

$shapeBorders = null

[line 35]



Tags:

access:  protected

Type:   mixed


[ Top ]

$shapeBounds = null

[line 33]



Tags:

access:  protected

Type:   mixed


[ Top ]

$visible = true

[line 26]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 55]

TeeShape __construct( [ $c = null])

The class constructor.



Tags:

access:  public


Overridden in child classes as:

TeePanel::__construct()

Overrides TeeBase::__construct() (parent method not documented)

Parameters:

   $c  

[ Top ]

destructor __destruct [line 64]


method assign [line 537]

void assign( s $shape)

Assign all properties from a shape to another.



Tags:

access:  public


Overridden in child classes as:

TextShape::assign()
Assign all properties from a TextShape to another.

Parameters:

s   $shape   Shape

[ Top ]

method getBevel [line 215]

TeeBevel getBevel( )

Sets the bevel characteristics of the Shape.



Tags:

access:  public


[ Top ]

method getBevelInner [line 117]

BevelStyle getBevelInner( )

Obsolete.&ndsp;Please use Bevel.<!-- -->Inner.



Tags:

access:  public


[ Top ]

method getBevelOuter [line 159]

BevelStyle getBevelOuter( )

Obsolete.&nbsp;Please use Bevel.<!-- -->Outer



Tags:

access:  public


[ Top ]

method getBevelWidth [line 140]

int getBevelWidth( )

Obsolete.&nbsp;Please use Bevel.<!-- -->Width



Tags:

access:  public


[ Top ]

method getBorderRound [line 266]

int getBorderRound( )

Rounds the Borders of the Chart Shapes.



Tags:

access:  public


[ Top ]

method getBottom [line 494]

int getBottom( )

Shape rectangle bottom co-ordinate.



Tags:

access:  public


[ Top ]

method getBrush [line 247]

ChartBrush getBrush( )

Defines the kind of brush used to fill shape background.



Tags:

access:  public


[ Top ]

method getColor [line 347]

Color getColor( )

Defines the shape Color.



Tags:

access:  public


Overridden in child classes as:

LeftWall::getColor()
The color used to fill the LeftWall background.
Default value: LIGHT_YELLOW

[ Top ]

method getGradient [line 369]

Gradient getGradient( )

Calls the Gradient characteristics for the shape.



Tags:

access:  public


[ Top ]

method getHeight [line 511]

void getHeight( )



Tags:

access:  public


[ Top ]

method getImage [line 290]

Image getImage( )

Rendered Image for Shape background.
Default value: null



Tags:

access:  public


[ Top ]

method getImageBevel [line 204]

ImageBevel getImageBevel( )

Sets the bevel characteristics of the Shape.



Tags:

access:  public


[ Top ]

method getImageMode [line 315]

ImageMode getImageMode( )

ImageMode for rendered Shape background Image.
Default value: ImageMode::$Stretch



Tags:

access:  public


[ Top ]

method getImageTransparent [line 334]

boolean getImageTransparent( )

Sets the shape image to transparent.



Tags:

access:  public


[ Top ]

method getLeft [line 436]

int getLeft( )

Shape rectangle left co-ordinate.



Tags:

access:  public


[ Top ]

method getPen [line 417]

ChartPen getPen( )

Specifies the pen used to draw the shape.



Tags:

access:  public


[ Top ]

method getRight [line 473]

int getRight( )

Shape rectangle right co-ordinate.



Tags:

access:  public


[ Top ]

method getShadow [line 235]

Shadow getShadow( )

Defines the shape's Shadow characteristics.



Tags:

access:  public


[ Top ]

method getShapeBorders [line 86]

shapeBorders getShapeBorders( )

Defines the Shape Borders.



Tags:

access:  public


[ Top ]

method getShapeBounds [line 95]

Rectangle getShapeBounds( )

Defines the boundaries of the Shape.



Tags:

access:  public


[ Top ]

method getTop [line 454]

int getTop( )

Shape rectangle top co-ordinate.



Tags:

access:  public


[ Top ]

method getTransparency [line 617]

int getTransparency( )

The Transparency level from 0 to 100% of shape.


Transparency is a value between 0 and 100 which sets the transparency percentage with respect to foreground versus background.
Default value: 0




Tags:

access:  public


[ Top ]

method getTransparent [line 399]

boolean getTransparent( )

Enables/disables transparency of shape.
See transparency, which sets percentage transparency when Transparent is true.



Tags:

see:  getTransparency
access:  public


[ Top ]

method getVisible [line 378]

boolean getVisible( )

Shows or hides the Shape.



Tags:

access:  public


Overridden in child classes as:

TeePanel::getVisible()
Shows or hides the Panel.
RightWall::getVisible()
Shows/Hides Right Wall.
Default value: false

[ Top ]

method getWidth [line 522]

void getWidth( )



Tags:

access:  public


[ Top ]

method paint [line 560]

void paint( $gd, $rect)



Tags:

access:  public


Overridden in child classes as:

TextShape::paint()
Paints the TextShape object on the Chart Canvas.
Legend::paint()
LeftWall::paint()
Use this method to paint a left wall at rectangle r.
RightWall::paint()
Use this method to paint a right wall at rectangle r.
BackWall::paint()
Use this method to paint a back wall at rectangle r.
BottomWall::paint()
Use this method to paint a bottom wall at rectangle r.

Parameters:

   $gd  
   $rect  

[ Top ]

method setBevel [line 226]

void setBevel( $value)

Internal use - serialization



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setBevelInner [line 131]

void setBevelInner( value $value)

Defines the inner bevel type of the TChart Panel border.


Available types:
None
Lowered
Raised




Tags:

access:  public


Parameters:

value   $value   BevelStyle

[ Top ]

method setBevelOuter [line 173]

void setBevelOuter( value $value)

Defines the outer bevel type of the TChart Panel border.


Available types:
None
Lowered
Raised




Tags:

access:  public


Parameters:

value   $value   BevelStyle

[ Top ]

method setBevelWidth [line 149]

void setBevelWidth( value $value)

Obsolete.&nbsp;Please use Bevel.<!-- -->Width



Tags:

access:  public


Parameters:

value   $value   int

[ Top ]

method setBorderRound [line 275]

void setBorderRound( value $value)

Rounds the Borders of the Chart Shapes.



Tags:

access:  public


Parameters:

value   $value   int

[ Top ]

method setBottom [line 503]

void setBottom( value $value)

Shape rectangle bottom co-ordinate.



Tags:

access:  public


Parameters:

value   $value   int

[ Top ]

method setBrush [line 257]

void setBrush( $value)

Internal use - serialization



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setChart [line 182]

void setChart( c $c)

Chart associated with this object.



Tags:

access:  public


Overridden in child classes as:

TextShape::setChart()
SeriesMarks::setChart()
Legend::setChart()

Overrides TeeBase::setChart() (Chart associated with this object.)

Parameters:

c   $c   IBaseChart

[ Top ]

method setColor [line 351]

void setColor( $value)



Tags:

access:  public


Overridden in child classes as:

LeftWall::setColor()
Specifies the color used to fill the LeftWall background.
Default value: LIGHT_YELLOW

Parameters:

   $value  

[ Top ]

method setDefaultVisible [line 294]

void setDefaultVisible( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setHeight [line 516]

void setHeight( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setImage [line 305]

void setImage( value $value)

Sets Rendered Image for Shape background.
Default value: null



Tags:

access:  public


Parameters:

value   $value   Image

[ Top ]

method setImageMode [line 325]

void setImageMode( value $value)

Sets the ImageMode for rendered Shape background Image.
Default value: ImageMode.Stretch



Tags:

access:  public


Parameters:

value   $value   ImageMode

[ Top ]

method setImageTransparent [line 338]

void setImageTransparent( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setLeft [line 444]

void setLeft( $value)

Shape rectangle left co-ordinate.



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setPen [line 427]

void setPen( $value)

Internal use - serialization



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setRight [line 482]

void setRight( value $value)

Shape rectangle right co-ordinate.



Tags:

access:  public


Parameters:

value   $value   int

[ Top ]

method setShapeBounds [line 104]

void setShapeBounds( value $value)

Defines the boundaries of the Shape.



Tags:

access:  public


Parameters:

value   $value   Rectangle

[ Top ]

method setTop [line 463]

void setTop( value $value)

Shape rectangle top co-ordinate.



Tags:

access:  public


Parameters:

value   $value   int

[ Top ]

method setTransparency [line 627]

void setTransparency( value $value)

Sets Transparency level from 0 to 100% of shape.
Default value: 0



Tags:

access:  public


Parameters:

value   $value   int

[ Top ]

method setTransparent [line 408]

void setTransparent( value $value)

Enables/disables transparency of shape.




Tags:

access:  public


Overridden in child classes as:

TeePanel::setTransparent()

Parameters:

value   $value   boolean

[ Top ]

method setVisible [line 387]

void setVisible( value $value)

Shows or hides the Shape.



Tags:

access:  public


Overridden in child classes as:

TeePanel::setVisible()
Shows or hides the Panel.
RightWall::setVisible()
Shows/Hides Right Wall.
Default value: false

Parameters:

value   $value   boolean

[ Top ]

method setWidth [line 527]

void setWidth( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method _setColor [line 360]

void _setColor( value $value)

Defines the shape Color.



Tags:

access:  public


Parameters:

value   $value   Color

[ Top ]

method __get [line 38]


method __set [line 45]

void __set( $property, $value)



Overridden in child classes as:

TeePanel::__set()
TextShape::__set()
AxisLabelItem::__set()
AxisLabels::__set()
AxisTitle::__set()
LegendTitle::__set()
SeriesMarks::__set()
TextShapePosition::__set()
Legend::__set()
Title::__set()
Footer::__set()
Wall::__set()

Overrides TeeBase::__set() (parent method not documented)

Parameters:

   $property  
   $value  

[ Top ]


Documentation generated on Mon, 19 Aug 2013 13:43:13 +0200 by phpDocumentor 1.4.3