Packageflare.vis.data.render
Classpublic class EdgeRenderer
ImplementsIRenderer

Renderer that draws edges as lines. The EdgeRenderer supports straight lines, poly lines, and curves as Bezier or cardinal splines. The type of edge drawn is determined from an EdgeSprite's shape property and control points found in the points property. The line rendering properties are set by the setLineStyle method, which can be overridden by subclasses. By default, the line rendering settings are determined using default property values set on this class (for example, the scaleMode and caps properties).



Public Properties
 PropertyDefined by
  caps : String = "null"
The caps style for line rendering.
EdgeRenderer
  instance : EdgeRenderer
[static][read-only] Static EdgeRenderer instance.
EdgeRenderer
  joints : String = "null"
The joint style for line rendering.
EdgeRenderer
  miterLimit : int = 3
The miter limit for line rendering.
EdgeRenderer
  pixelHinting : Boolean = false
Pixel hinting flag for line rendering.
EdgeRenderer
  scaleMode : String = "normal"
Scale mode for line rendering (normal by default).
EdgeRenderer
Public Methods
 MethodDefined by
  
Renders drawing content for the input DataSprite.
EdgeRenderer
Protected Methods
 MethodDefined by
  
setLineStyle(e:EdgeSprite, g:Graphics):void
Sets the line style for edge rendering.
EdgeRenderer
Property detail
capsproperty
public var caps:String = "null"

The caps style for line rendering.

instanceproperty 
instance:EdgeRenderer  [read-only]

Static EdgeRenderer instance.

Implementation
    public static function get instance():EdgeRenderer
jointsproperty 
public var joints:String = "null"

The joint style for line rendering.

miterLimitproperty 
public var miterLimit:int = 3

The miter limit for line rendering.

pixelHintingproperty 
public var pixelHinting:Boolean = false

Pixel hinting flag for line rendering.

scaleModeproperty 
public var scaleMode:String = "normal"

Scale mode for line rendering (normal by default).

Method detail
render()method
public function render(d:DataSprite):void

Renders drawing content for the input DataSprite.

Parameters
d:DataSprite — the DataSprite to draw
setLineStyle()method 
protected function setLineStyle(e:EdgeSprite, g:Graphics):void

Sets the line style for edge rendering.

Parameters
e:EdgeSprite — the EdgeSprite to render
 
g:Graphics — the Graphics context to draw with