| Package | com.yworks.graph.drawing |
| Class | public class FilterNodeStyleDecorator |
| Inheritance | FilterNodeStyleDecorator DelegatingNodeStyle Object |
Default MXML Propertywrapped
| Property | Defined By | ||
|---|---|---|---|
| filters : Array
An Array containing the filter that shall be used in the renderer. | FilterNodeStyleDecorator | ||
![]() | styleRenderer : IStyleRenderer [read-only]
Gets the renderer implementation that has been supplied to
this instance upon creation. | DelegatingNodeStyle | |
| wrapped : IVisualStyle
The style which is wrapped by this FilterNodeStyleDecorator instance. | FilterNodeStyleDecorator | ||
| Method | Defined By | ||
|---|---|---|---|
FilterNodeStyleDecorator(wrapped:INodeStyle = null, filters:Array = null, renderer:IStyleRenderer = null)
Creates a new instance which wraps the given style and uses the given renderer. | FilterNodeStyleDecorator | ||
addFilter(filter:BitmapFilter):void
Add the given filter to the existing Array of filters. | FilterNodeStyleDecorator | ||
clone():Object [override]
Subclasses must override this method to return a clone of their instances. | FilterNodeStyleDecorator | ||
![]() |
Prepares the rendering of an IModelItem in a CanvasComponent by
adding ICanvasObject's to the provided canvas. | DelegatingNodeStyle | |
| filters | property |
filters:ArrayAn Array containing the filter that shall be used in the renderer.
public function get filters():Array public function set filters(value:Array):void| wrapped | property |
wrapped:IVisualStyle
The style which is wrapped by this FilterNodeStyleDecorator instance.
public function get wrapped():IVisualStyle public function set wrapped(value:IVisualStyle):void| FilterNodeStyleDecorator | () | Constructor |
public function FilterNodeStyleDecorator(wrapped:INodeStyle = null, filters:Array = null, renderer:IStyleRenderer = null)Creates a new instance which wraps the given style and uses the given renderer.
If the first parameters is null a ShapeNodeStyle using it's default configuration is used.
wrapped:INodeStyle (default = null) — The style to wrap.
| |
filters:Array (default = null) — The filters to use.
| |
renderer:IStyleRenderer (default = null) — The renderer to use.
|
| addFilter | () | method |
public function addFilter(filter:BitmapFilter):void
Add the given filter to the existing Array of filters.
Parameters
filter:BitmapFilter — The filter to add.
|
| clone | () | method |
override public function clone():ObjectSubclasses must override this method to return a clone of their instances. Creates a clone of this instance.
ReturnsObject — A clone of this instance.
|