DisplayObject Class
this is the base class for all objects that are rendered on the screen.
Constructor
DisplayObject
    
        ()
    
    
    
    
    
    
    
    
    
    Item Index
Methods
- autoDetectRenderer static
Methods
autoDetectRenderer
    
        
            (
    
    
    
    
    
    
        static
    
    
    
    
    - 
                    
                        width
- 
                    
                        height
- 
                    
                        view
- 
                    
                        transparent
This helper function will automatically detect which renderer you should be using. WebGL is the preferred renderer as it is a lot fastest. If webGL is not supported by the browser then this function will return a canvas renderer
Parameters:
- 
                    
                        widthNumberthe width of the renderers view 
- 
                    
                        heightNumberthe height of the renderers view 
- 
                    
                        viewCanvasthe canvas to use as a view, optional 
- 
                    
                        transparentBooleanthe transparency of the render view, default false 
Properties
alpha
    Number
    
    
    
    
    
    The opacity of the object.
parent
    DisplayObjectContainer
    
    
    
    
    
    [read-only] The display object container that contains this display object.
rotation
    Number
    
    
    
    
    
    The rotation of the object in radians.
stage
    Stage
    
    
    
    
    
    [read-only] The stage the display object is connected to, or undefined if it is not connected to the stage.
visible
    Boolean
    
    
    
    
    
    The visibility of the object.
