Click or drag to resize

SelectionShape Methods

The SelectionShape type exposes the following members.

Methods
  NameDescription
Public methodAddEventListener(String, EventCallback0)
(Inherited from EventDispatcher.)
Public methodAddEventListener(String, EventCallback1)
(Inherited from EventDispatcher.)
Public methodBroadcastEvent
(Inherited from EventDispatcher.)
Public methodBubbleEvent
(Inherited from EventDispatcher.)
Public methodClear
Public methodDispatchEvent(String)
(Inherited from EventDispatcher.)
Public methodDispatchEvent(EventContext)
(Inherited from EventDispatcher.)
Public methodDispatchEvent(String, Object)
(Inherited from EventDispatcher.)
Public methodDispatchEvent(String, Object, Object) (Inherited from EventDispatcher.)
Public methodDispose (Inherited from DisplayObject.)
Public methodEnsureSizeCorrect (Inherited from DisplayObject.)
Public methodEnterPaintingMode
进入绘画模式,整个对象将画到一张RenderTexture上,然后这种贴图将代替原有的显示内容。 可以在onPaint回调里对这张纹理进行进一步操作,实现特殊效果。 可能有多个地方要求进入绘画模式,这里用requestorId加以区别,取值是1、2、4、8、16以此类推。1024内内部保留。用户自定义的id从1024开始。
(Inherited from DisplayObject.)
Public methodGetBounds
(Inherited from DisplayObject.)
Public methodGlobalToLocal
将舞台坐标转换为本地坐标
(Inherited from DisplayObject.)
Public methodInvalidateBatchingState
(Inherited from DisplayObject.)
Public methodLeavePaintingMode
离开绘画模式
(Inherited from DisplayObject.)
Public methodLocalToGlobal
将本地坐标转换为舞台坐标
(Inherited from DisplayObject.)
Public methodRemoveEventListener(String, EventCallback0)
(Inherited from EventDispatcher.)
Public methodRemoveEventListener(String, EventCallback1)
(Inherited from EventDispatcher.)
Public methodRemoveEventListeners
(Inherited from EventDispatcher.)
Public methodRemoveEventListeners(String)
(Inherited from EventDispatcher.)
Public methodRemoveFromParent
(Inherited from DisplayObject.)
Public methodSetPosition
(Inherited from DisplayObject.)
Public methodSetScale
(Inherited from DisplayObject.)
Public methodSetSize
(Inherited from DisplayObject.)
Public methodSetXY
(Inherited from DisplayObject.)
Public methodTransformPoint
(Inherited from DisplayObject.)
Public methodTransformRect
(Inherited from DisplayObject.)
Public methodUpdate (Overrides DisplayObjectUpdate(UpdateContext).)
Public methodWorldToLocal
转换世界坐标点到等效的本地xy平面的点。等效的意思是他们在屏幕方向看到的位置一样。 返回的点是在对象的本地坐标空间,且z=0
(Inherited from DisplayObject.)
Top
See Also