Class Brush

(line 1112)

Description

Object
   |
   --Persistent
      |
      --Brush

Located in File: /graphics.inc.php

Brush represents the color and pattern used to fill solid shapes.

Brush encapsulates several properties to hold all the attributes to fill solid shapes, such as rectangles and ellipses, with a color or pattern.



Properties

Summary:
Color Indicates the color of the brush.
Owner Owner of the component. [Publishes Persistent::Owner]

Defined in class Persistent

NamePath Used to serialize/unserialize. It returns the full path to identify this component.
Owner Owner of the component.

property Color (line 1168)

string Color

Indicates the color of the brush.

The Color property determines the color of the brush. This is the color that is used to draw the pattern.


property Owner (line 1118)

Component Owner

Owner of the component. [Publishes Persistent::Owner]

property NamePath

Used to serialize/unserialize. It returns the full path to identify this component.
This property is implemented in Persistent::NamePath

property Owner

Owner of the component.
This property is implemented in Persistent::Owner

Methods

Summary:
assignTo Assigns this object to another object. [Overrides Persistent::assignTo()]
isModified Returns the status of the internal flag for modified state
modified Mark the brush as modified.
resetModified Mark the brush as not modified.

Defined in class Persistent

serialize Stores this object into the session.
unserialize This method uses PHP reflection to iterate through published properties (the ones starting with get) and retrieve the properties stored by a previous serialize() call.

Defined in class Object

__construct Constructs an object and initializes its data before the object is first used.
className Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
classParent Returns the type of the immediate ancestor of a class.

Method assignTo (line 1123)

void assignTo( $dest)

Overrides : Persistent::assignTo() Assigns this object to another object.


Method isModified (line 1148)

integer isModified( )

Returns the status of the internal flag for modified state

This function returns the status of the internal flag that marks this brush as modified

Info


Method modified (line 1136)

void modified( )

Mark the brush as modified.

This method marks the brush as modified by setting an internal flag to 1

Info


Method resetModified (line 1158)

void resetModified( )

Mark the brush as not modified.

This method resets the internal flag to specify it has not been modified

Info


Events

Summary:

[none]

Javascript Events

Summary:

[none]

Documentation generated on Fri, 26 Dec 2008 11:45:28 +0100 by phpDocumentor 1.4.0a2