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

Class: awBilinearGradient

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

Class Overview

awGradient
   |
   --awLinearGradient
      |
      --awBilinearGradient

Create a bilinear gradient


Variables

Methods


Inherited Variables

Inherited Methods

Class: awLinearGradient

awLinearGradient::__construct()
Build the linear gradient

Class: awGradient

awGradient::__construct()
Build the gradient

Class Details

[line 97]
Create a bilinear gradient



[ Top ]


Class Variables

$center =

[line 104]

Gradient center



Tags:

var:  Center between 0 and 1
access:  public

Type:   float


[ Top ]



Class Methods


constructor __construct [line 114]

awBilinearGradient __construct( awColor $from, awColor $to, int $angle, [int $center = 0.5])

Build the bilinear gradient



Tags:

access:  public


Overrides awLinearGradient::__construct() (Build the linear gradient)

Parameters:

awColor   $from   From color
awColor   $to   To color
int   $angle   Gradient angle
int   $center   Gradient center

[ Top ]


Documentation generated on Thu, 03 May 2012 15:04:53 +0200 by phpDocumentor 1.4.1