Class Index | File Index

Classes


Class createjs.Graphics.DecodePath


Defined in: graphics.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
An inner class used by the createjs.Graphics class to draw a compact-encoded path.
Method Summary
Method Attributes Method Name and Description
<static>  
createjs.Graphics.DecodePath.get(encoded, box)
Creates a createjs.Graphics.DrawPath object.
 
 
paint(renderer)
Class Detail
createjs.Graphics.DecodePath(encoded)
An inner class used by the createjs.Graphics class to draw a compact-encoded path. This object uses an object spool to decode one compact-encoded path only once. (A createjs.Shape object generated by Flash calls the drawPath() method in its constructor, i.e. it decodes one compact-encoded path every time when a game creates the instance of the createjs.Shape object. This object uses an object spool to avoid it.)
Parameters:
{string} encoded
Method Detail
<static> {createjs.Graphics.DecodePath} createjs.Graphics.DecodePath.get(encoded, box)
Creates a createjs.Graphics.DrawPath object. This method decodes a compact-encoded path only when its object spool have not decoded it.
Parameters:
{string} encoded
{createjs.BoundingBox} box
Returns:
{createjs.Graphics.DecodePath}

getText()

paint(renderer)
Parameters:
renderer

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Oct 04 2016 17:11:28 GMT+0900 (JST)