Path

ez components / documentation / api reference / latest / graph


eZ Components latest

Graph: ezcGraphCoordinate

[ Tutorial ] [ Gallery ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcGraphCoordinate

Represents coordinates in two dimensional catesian coordinate system. [source]
Coordinates are used to represent the location of objects on the drawing plane. They are simple structs conatining the two coordinate values required in a two dimensional cartesian coordinate system. The class ezcGraphVector extends the Coordinate class and provides additional methods like rotations, simple arithmetic operations etc.

Parents

ezcBaseStruct
   |
   --ezcGraphCoordinate

Member Variables

public float $x = 0
x coordinate
public float $y = 0
y coordinate
Last updated: Mon, 21 Dec 2009