phpDocumentor SMap
Objects
[ class tree: SMap ] [ index: SMap ] [ all elements ]

Class: SMap_Object_Area

Source Location: /SMap/Object.php

Class SMap_Object_Area

Class Overview

An area on the map encompassing one or more pixels

An area is interesting because at this point it is linkable/clickable.

Located in /SMap/Object.php [line 550]

SMap_Object
   |
   --SMap_Object_Area
Author(s):
API Tags:
Abstract:  

Properties

Methods

[ Top ]
Direct descendents
Child Class Description
SMap_Object_Area_Default Sets the default click for the tile
SMap_Object_Area_Rec A rectangle that is oriented to the view.
SMap_Object_Area_Poly A polygon

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From SMap_Object

SMap_Object::$alt
SMap_Object::$color
SMap_Object::$label
SMap_Object::$layer
SMap_Object::$map
SMap_Object::$tile
SMap_Object::$url
SMap_Object::$view

Inherited From SMap_Object

SMap_Object::__construct()
Give the object a context
SMap_Object::applyTile()
Apply a tile to this object
SMap_Object::draw()
Draw this object on a canvas
SMap_Object::getInnerBounds()
Get the rough inner rectangular bounds for this object.
SMap_Object::label()
Are we drawing a label for this object?
SMap_Object::map()
Return a map of this object
SMap_Object::setColor()
Set the color for this object
SMap_Object::setLink()
Set this to link to something

[ Top ]
Property Summary
mixed   $borderColor   Save the colors for this area

[ Top ]
Method Summary
void   setBrdrColor()   Set the border color for this image

[ Top ]
Properties
mixed   $borderColor = null [line 554]

Save the colors for this area

API Tags:
Access:  protected


Redefined in descendants as:

[ Top ]
Methods
setBrdrColor  [line 566]

  void setBrdrColor( mixed $r, [integer $g = 0], [integer $b = 0], [integer $a = null]  )

Set the border color for this image

If the first parameter is false, then there is no border. (default)

Parameters:
mixed   $r:  Red channel or false (for no color)
integer   $g:  Green channel
integer   $b:  Blue channel
integer   $a:  Alpha channel


[ Top ]

Documentation generated on Mon, 09 Apr 2007 18:54:52 -0500 by phpDocumentor 1.3.0