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

Class: awBorder

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

Class Overview


Draw border


Variables

Methods



Class Details

[line 18]
Draw border



[ Top ]


Class Variables

$color =

[line 25]

Border color



Tags:

access:  protected

Type:   Color


[ Top ]

$hide =  FALSE

[line 32]

Hide border ?



Tags:

access:  protected

Type:   bool


[ Top ]

$style =

[line 39]

Border line style



Tags:

access:  protected

Type:   int


[ Top ]



Class Methods


constructor __construct [line 47]

awBorder __construct( [awColor $color = NULL], [int $style = awLine::SOLID])

Build the border



Tags:

access:  public


Parameters:

awColor   $color   Border color
int   $style   Border style

[ Top ]

method ellipse [line 136]

void ellipse( awDriver $driver, awPoint $center, int $width, int $height)

Draw border as an ellipse



Tags:

access:  public


Parameters:

awDriver   $driver  
awPoint   $center   Ellipse center
int   $width   Ellipse width
int   $height   Ellipse height

[ Top ]

method hide [line 84]

void hide( [bool $hide = TRUE])

Hide border ?



Tags:

access:  public


Parameters:

bool   $hide  

[ Top ]

method polygon [line 164]

void polygon( awDriver $driver, awPolygon $polygon)

Draw border as a polygon



Tags:

access:  public


Parameters:

awDriver   $driver   A Driver object
awPolygon   $polygon   A Polygon object

[ Top ]

method rectangle [line 113]

void rectangle( awDriver $driver, awPoint $p1, awPoint $p2)

Draw border as a rectangle



Tags:

access:  public


Parameters:

awDriver   $driver  
awPoint   $p1   Top-left corner
awPoint   $p2   Bottom-right corner

[ Top ]

method setColor [line 65]

void setColor( awColor $color)

Change border color This method automatically shows the border if it is hidden



Tags:

access:  public


Parameters:

awColor   $color  

[ Top ]

method setStyle [line 75]

void setStyle( int $style)

Change border style



Tags:

access:  public


Parameters:

int   $style  

[ Top ]

method show [line 93]

void show( [bool $show = TRUE])

Show border ?



Tags:

access:  public


Parameters:

bool   $show  

[ Top ]

method visible [line 102]

bool visible( )

Is the border visible ?



Tags:

access:  public


[ Top ]


Documentation generated on Thu, 03 May 2012 15:02:11 +0200 by phpDocumentor 1.4.1