Packagecom.degrafa.paint
Classpublic class EmptyFill
InheritanceEmptyFill Inheritance DegrafaObject
ImplementsIGraphicsFill

The EmptyFill class provides a class for explicitly setting an empty Fill. In situations, e.g. where 'derive' is used and you require that the local Geometry class does not derive the fill from the derive target, then you must set an EmptyFill explicitly.



Public Properties
 PropertyDefined by
 Inheriteddocument : Object
The MXML document that created this object.
DegrafaObject
 InheritedenableEvents : Boolean
Enable events for this object.
DegrafaObject
 InheritedhasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
DegrafaObject
 Inheritedid : String
The identifier used by document to refer to this object.
DegrafaObject
 InheritedisInitialized : Boolean
DegrafaObject
  lastArgs : Array
[read-only] Provide access to the lastArgs array
EmptyFill
  lastRectangle : Rectangle
[read-only] Provides access to the last rectangle that was relevant for this fill.
EmptyFill
 Inheritedname : String
The name that refers to this object.
DegrafaObject
 InheritedobjectBindings : Array
DegrafaObject
 Inheritedparent : IDegrafaObject
The current degrafa object parent.
DegrafaObject
  requester : IGeometryComposition
[write-only]
EmptyFill
  restartFunction : Function
[read-only] Provides access to a cached function for restarting the last used fill either it the same context, or , if context is provided as an argument, then to an alternate context.
EmptyFill
 InheritedsuppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
DegrafaObject
Protected Properties
 PropertyDefined by
 InheritedeventDispatcher : EventDispatcher
EventDispatcher instance for this object.
DegrafaObject
Public Methods
 MethodDefined by
  
Constructor.
EmptyFill
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = true):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
DegrafaObject
  
begin(graphics:Graphics, rc:Rectangle):void
Begins the fill for the graphics context.
EmptyFill
 Inherited
dispatchEvent(evt:Event):Boolean
Dispatches an event into the event flow.
DegrafaObject
 Inherited
dispatchPropertyChange(bubbles:Boolean = false, property:Object = null, oldValue:Object = null, newValue:Object = null, source:Object = null):Boolean
Dispatches an property change event into the event flow.
DegrafaObject
  
end(graphics:Graphics):void
Ends the fill for the graphics context.
EmptyFill
 Inherited
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
DegrafaObject
 Inherited
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
DegrafaObject
 Inherited
initialized(document:Object, id:String):void
Called after the implementing object has been created and all component properties specified on the MXML tag have been initialized.
DegrafaObject
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
DegrafaObject
 Inherited
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
DegrafaObject
Events
 EventSummaryDefined by
 Inherited  DegrafaObject
 Inherited  DegrafaObject
Property detail
lastArgsproperty
lastArgs:Array  [read-only]

Provide access to the lastArgs array

Implementation
    public function get lastArgs():Array
lastRectangleproperty 
lastRectangle:Rectangle  [read-only]

Provides access to the last rectangle that was relevant for this fill.

Implementation
    public function get lastRectangle():Rectangle
requesterproperty 
requester:IGeometryComposition  [write-only]Implementation
    public function set requester(value:IGeometryComposition):void
restartFunctionproperty 
restartFunction:Function  [read-only]

Provides access to a cached function for restarting the last used fill either it the same context, or , if context is provided as an argument, then to an alternate context.

Implementation
    public function get restartFunction():Function
Constructor detail
EmptyFill()constructor
public function EmptyFill()

Constructor.

The EmptyFill constructor accepts no arguments

Method detail
begin()method
public function begin(graphics:Graphics, rc:Rectangle):void

Begins the fill for the graphics context.

Parameters
graphics:Graphics — The current context to draw to.
 
rc:Rectangle — A Rectangle object used for fill bounds.
end()method 
public function end(graphics:Graphics):void

Ends the fill for the graphics context.

Parameters
graphics:Graphics — The current context being drawn to.