linea21-externals
[ class tree: linea21-externals ] [ index: linea21-externals ] [ all elements ]

Class: awTick

Source Location: /class/system/artichow/php5/inc/Tick.class.php

Class Overview


Handle ticks


Variables

Constants

Methods



Class Details

[line 26]
Handle ticks



[ Top ]


Class Variables

$color =

[line 47]

Ticks color



Tags:

access:  protected

Type:   Color


[ Top ]

$hide =  FALSE

[line 75]

Hide ticks



Tags:

access:  protected

Type:   bool


[ Top ]

$hideFirst =  FALSE

[line 82]

Hide first tick



Tags:

access:  protected

Type:   bool


[ Top ]

$hideLast =  FALSE

[line 89]

Hide last tick



Tags:

access:  protected

Type:   bool


[ Top ]

$interval =  1

[line 68]

Ticks interval



Tags:

access:  protected

Type:   int


[ Top ]

$number =

[line 54]

Ticks number



Tags:

access:  protected

Type:   int


[ Top ]

$numberByTick =

[line 61]

Ticks number by other tick



Tags:

access:  protected

Type:   array


[ Top ]

$size =

[line 40]

Ticks size



Tags:

access:  protected

Type:   int


[ Top ]

$style =  awTick::IN

[line 33]

Ticks style



Tags:

access:  protected

Type:   int


[ Top ]



Class Methods


method draw [line 247]

void draw( awDriver $driver, awVector $vector)

Draw ticks on a vector



Tags:

access:  public


Parameters:

awDriver   $driver   A driver
awVector   $vector   A vector

[ Top ]

method drawTick [line 320]

void drawTick( awDriver $driver, awPoint $p, $from, $to)



Tags:

access:  protected


Parameters:

awDriver   $driver  
awPoint   $p  
   $from  
   $to  

[ Top ]

method drawTicks [line 279]

void drawTicks( awDriver $driver, awVector $vector, $from, $to)



Tags:

access:  protected


Parameters:

awDriver   $driver  
awVector   $vector  
   $from  
   $to  

[ Top ]

method getInterval [line 177]

int getInterval( )

Get interval between each tick



Tags:

access:  public


[ Top ]

method getNumber [line 195]

int getNumber( )

Get number of ticks



Tags:

access:  public


[ Top ]

method getStyle [line 141]

int getStyle( )

Get ticks style



Tags:

access:  public


[ Top ]

method hide [line 219]

void hide( bool $hide)

Hide ticks



Tags:

access:  public


Parameters:

bool   $hide  

[ Top ]

method hideFirst [line 228]

void hideFirst( bool $hide)

Hide first tick



Tags:

access:  public


Parameters:

bool   $hide  

[ Top ]

method hideLast [line 237]

void hideLast( bool $hide)

Hide last tick



Tags:

access:  public


Parameters:

bool   $hide  

[ Top ]

constructor __construct [line 118]

awTick __construct( int $number, int $size)

Build the ticks



Tags:

access:  public


Parameters:

int   $number   Number of ticks
int   $size   Ticks size

[ Top ]

method setColor [line 150]

void setColor( awColor $color)

Change ticks color



Tags:

access:  public


Parameters:

awColor   $color  

[ Top ]

method setInterval [line 168]

void setInterval( int $interval)

Change interval of ticks



Tags:

access:  public


Parameters:

int   $interval  

[ Top ]

method setNumber [line 186]

void setNumber( int $number)

Change number of ticks



Tags:

access:  public


Parameters:

int   $number  

[ Top ]

method setNumberByTick [line 205]

void setNumberByTick( awTick $tick, int $number)

Change number of ticks relative to others ticks



Tags:

access:  public


Parameters:

awTick   $tick   Ticks reference
int   $number   Number of ticks

[ Top ]

method setSize [line 159]

void setSize( int $size)

Change ticks size



Tags:

access:  public


Parameters:

int   $size  

[ Top ]

method setStyle [line 132]

void setStyle( int $style)

Change ticks style



Tags:

access:  public


Parameters:

int   $style  

[ Top ]


Class Constants

IN =  0

[line 96]

In mode


[ Top ]

IN_OUT =  2

[line 110]

In and out mode


[ Top ]

OUT =  1

[line 103]

Out mode


[ Top ]



Documentation generated on Thu, 03 May 2012 15:07:51 +0200 by phpDocumentor 1.4.1