Click or drag to resize
GObject Methods

The GObject type exposes the following members.

Methods
  NameDescription
Public methodAddEventListener(String, EventCallback0)
(Inherited from EventDispatcher.)
Public methodAddEventListener(String, EventCallback1)
(Inherited from EventDispatcher.)
Public methodAddRelation(GObject, RelationType)
Public methodAddRelation(GObject, RelationType, Boolean)
Public methodBroadcastEvent
(Inherited from EventDispatcher.)
Public methodBubbleEvent
(Inherited from EventDispatcher.)
Public methodCenter
Set the object in middle of the parent or GRoot if the parent is not set.
Public methodCenter(Boolean)
Set the object in middle of the parent or GRoot if the parent is not set.
Public methodConstructFromResource
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
Public methodGetGear
Public methodGlobalToLocal(Rect)
Public methodGlobalToLocal(Vector2)
Transforms a point from global (Stage) coordinates to the local coordinate system.
Public methodHandleControllerChanged
Public methodInvalidateBatchingState
Mark the fairy batching state is invalid.
Public methodLocalToGlobal(Rect)
Public methodLocalToGlobal(Vector2)
Transforms a point from the local coordinate system to global (Stage) coordinates.
Public methodLocalToRoot
Transforms a point from the local coordinate system to GRoot coordinates.
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
Public methodRemoveRelation
Public methodRequestFocus
Request focus on this object.
Public methodRootToLocal
Transforms a point from the GRoot coordinate to local coordinates system.
Public methodSetPivot(Single, Single)
Change the x and y coordinates of the object's origin in its own coordinate space.
Public methodSetPivot(Single, Single, Boolean)
Change the x and y coordinates of the object's origin in its own coordinate space.
Public methodSetPosition
change the x,y,z coordinates of the object relative to the local coordinates of the parent.
Public methodSetScale
Change the scale factor.
Public methodSetSize(Single, Single)
Change size.
Public methodSetSize(Single, Single, Boolean)
Change size.
Public methodSetup_AfterAdd
Public methodSetup_BeforeAdd
Public methodSetXY
change the x and y coordinates of the object relative to the local coordinates of the parent.
Public methodStartDrag
Public methodStartDrag(Int32)
Public methodStopDrag
Public methodTransformPoint
Public methodTransformRect
Public methodTweenFade
Public methodTweenMove
Public methodTweenMoveX
Public methodTweenMoveY
Public methodTweenResize
Public methodTweenRotate
Public methodTweenScale
Public methodTweenScaleX
Public methodTweenScaleY
Public methodWorldToLocal(Vector3)
Public methodWorldToLocal(Vector3, Camera)
Top
See Also