| Package | com.degrafa.paint |
| Class | public class EmptyStroke |
| Inheritance | EmptyStroke DegrafaObject |
| Implements | IGraphicsStroke |
| Property | Defined by | ||
|---|---|---|---|
| caps : String | EmptyStroke | ||
![]() | document : Object
The MXML document that created this object.
| DegrafaObject | |
![]() | enableEvents : Boolean
Enable events for this object.
| DegrafaObject | |
![]() | hasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
| DegrafaObject | |
![]() | id : String
The identifier used by document to refer to this object.
| DegrafaObject | |
![]() | isInitialized : Boolean | DegrafaObject | |
| joints : String | EmptyStroke | ||
| lastArgs : Array [read-only]
Provide access to the lastArgs array
| EmptyStroke | ||
| lastRectangle : Rectangle [read-only]
Provides access to the last rectangle that was relevant for this fill.
| EmptyStroke | ||
| miterLimit : Number | EmptyStroke | ||
![]() | name : String
The name that refers to this object.
| DegrafaObject | |
![]() | objectBindings : Array | DegrafaObject | |
![]() | parent : IDegrafaObject
The current degrafa object parent.
| DegrafaObject | |
| pixelHinting : Boolean | EmptyStroke | ||
| reApplyFunction : 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.
| EmptyStroke | ||
| scaleMode : String | EmptyStroke | ||
![]() | suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| DegrafaObject | |
| weight : Number | EmptyStroke | ||
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| EmptyStroke | ||
![]() |
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 | |
|
apply(graphics:Graphics, rc:Rectangle):void
In this case, does nothing because there is no stroke.
| EmptyStroke | ||
![]() |
dispatchEvent(evt:Event):Boolean
Dispatches an event into the event flow.
| DegrafaObject | |
![]() |
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 | |
![]() |
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| DegrafaObject | |
![]() |
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
| DegrafaObject | |
![]() |
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 | |
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| DegrafaObject | |
![]() |
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 | |
| caps | property |
caps:String [read-write]This property can be used as the source for data binding.
Implementation public function get caps():String
public function set caps(value:String):void
| joints | property |
joints:String [read-write]This property can be used as the source for data binding.
Implementation public function get joints():String
public function set joints(value:String):void
| lastArgs | property |
lastArgs:Array [read-only]Provide access to the lastArgs array
This property can be used as the source for data binding.
Implementation public function get lastArgs():Array
| lastRectangle | property |
lastRectangle:Rectangle [read-only]Provides access to the last rectangle that was relevant for this fill.
This property can be used as the source for data binding.
Implementation public function get lastRectangle():Rectangle
| miterLimit | property |
miterLimit:Number [read-write]This property can be used as the source for data binding.
Implementation public function get miterLimit():Number
public function set miterLimit(value:Number):void
| pixelHinting | property |
pixelHinting:Boolean [read-write]This property can be used as the source for data binding.
Implementation public function get pixelHinting():Boolean
public function set pixelHinting(value:Boolean):void
| reApplyFunction | property |
reApplyFunction: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. If no
This property can be used as the source for data binding.
Implementation public function get reApplyFunction():Function
| scaleMode | property |
scaleMode:String [read-write]This property can be used as the source for data binding.
Implementation public function get scaleMode():String
public function set scaleMode(value:String):void
| weight | property |
weight:Number [read-write]This property can be used as the source for data binding.
Implementation public function get weight():Number
public function set weight(value:Number):void
| EmptyStroke | () | constructor |
public function EmptyStroke()Constructor.
The Emptry stroke constructor takes no arguments.
| apply | () | method |
public function apply(graphics:Graphics, rc:Rectangle):voidIn this case, does nothing because there is no stroke.
Parametersgraphics:Graphics — The current context to draw to.
|
|
rc:Rectangle — A Rectangle object used for stroke bounds.
|