Object | --Persistent | --Brush
Located in File: /graphics.inc.php
Brush encapsulates several properties to hold all the attributes to fill solid shapes, such as rectangles and ellipses, with a color or pattern.
![]() | 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)
The Color property determines the color of the brush. This is the color that is used to draw the pattern.
property NamePath
| 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)
Overrides : Persistent::assignTo() Assigns this object to another object.
Method isModified (line 1148)
This function returns the status of the internal flag that marks this brush as modified
Method modified (line 1136)
This method marks the brush as modified by setting an internal flag to 1
Method resetModified (line 1158)
This method resets the internal flag to specify it has not been modified