flash.display
Class Shape

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by flash.events.EventDispatcher
          extended by flash.display.DisplayObject
              extended by flash.display.Shape

public final class Shape
extends DisplayObject


Field Summary
 
Fields inherited from class flash.display.DisplayObject
ADDED, ADDED_TO_STAGE, ENTERFRAME, REMOVED, REMOVED_FROM_STAGE, RENDER
 
Fields inherited from class flash.events.EventDispatcher
ACTIVATE, DEACTIVATE
 
Constructor Summary
protected Shape()
           
 
Method Summary
static Shape create(int w, int h)
           
 Graphics getGraphics()
          Specifies the Graphics object that belongs to this sprite where vector drawing commands can occur.
 
Methods inherited from class flash.display.DisplayObject
getAlpha, getBlendMode, getBounds, getCacheAsBitmap, getFilters, getHeight, getLoaderInfo, getMask, getMouseX, getMouseY, getName, getParent, getRect, getRoot, getRotation, getScale9Grid, getScaleX, getScaleY, getScrollRect, getStage, getTransform, getWidth, getX, getY, globalToLocal, hitTestObject, hitTestPoint, localToGlobal, setAlpha, setBlendMode, setCacheAsBitmap, setFilters, setHeight, setMask, setName, setRotation, setScale9Grid, setScaleX, setScaleY, setScrollRect, setTransform, setTransform, setVisible, setWidth, setX, setY, visible
 
Methods inherited from class flash.events.EventDispatcher
addEventListener, create, dispatchEvent, hasEventListener, removeEventListener, willTrigger
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Shape

protected Shape()
Method Detail

create

public static Shape create(int w,
                           int h)

getGraphics

public Graphics getGraphics()
Specifies the Graphics object that belongs to this sprite where vector drawing commands can occur.

Returns:


Copyright © 2013. All Rights Reserved.