GGraph Methods |
The GGraph type exposes the following members.
| Name | Description | |
|---|---|---|
| AddAfterMe |
Add another object after this object.
在显示列表中,将另一个对象插入到这个对象的后面。
| |
| AddBeforeMe |
Add another object before this object.
在显示列表中,将另一个对象插入到这个对象的前面。
| |
| AddEventListener(String, EventCallback0) | (Inherited from EventDispatcher.) | |
| AddEventListener(String, EventCallback1) | (Inherited from EventDispatcher.) | |
| AddRelation(GObject, RelationType) | (Inherited from GObject.) | |
| AddRelation(GObject, RelationType, Boolean) | (Inherited from GObject.) | |
| BroadcastEvent | (Inherited from EventDispatcher.) | |
| BubbleEvent | (Inherited from EventDispatcher.) | |
| Center |
Set the object in middle of the parent or GRoot if the parent is not set.
(Inherited from GObject.) | |
| Center(Boolean) |
Set the object in middle of the parent or GRoot if the parent is not set.
(Inherited from GObject.) | |
| ConstructFromResource | (Inherited from GObject.) | |
| DispatchEvent(String) | (Inherited from EventDispatcher.) | |
| DispatchEvent(EventContext) | (Inherited from EventDispatcher.) | |
| DispatchEvent(String, Object) | (Inherited from EventDispatcher.) | |
| DispatchEvent(String, Object, Object) | (Inherited from EventDispatcher.) | |
| Dispose | (Inherited from GObject.) | |
| DrawEllipse | ||
| DrawPolygon | ||
| DrawRect |
Draw a rectangle.
画矩形。
| |
| DrawRoundRect | ||
| GetGear | (Inherited from GObject.) | |
| GlobalToLocal(Rect) | (Inherited from GObject.) | |
| GlobalToLocal(Vector2) |
Transforms a point from global (Stage) coordinates to the local coordinate system.
(Inherited from GObject.) | |
| HandleControllerChanged | (Inherited from GObject.) | |
| InvalidateBatchingState |
Mark the fairy batching state is invalid.
(Inherited from GObject.) | |
| LocalToGlobal(Rect) | (Inherited from GObject.) | |
| LocalToGlobal(Vector2) |
Transforms a point from the local coordinate system to global (Stage) coordinates.
(Inherited from GObject.) | |
| LocalToRoot |
Transforms a point from the local coordinate system to GRoot coordinates.
(Inherited from GObject.) | |
| MakeFullScreen |
设置对象为全屏大小(逻辑屏幕)。
(Inherited from GObject.) | |
| RemoveEventListener(String, EventCallback0) | (Inherited from EventDispatcher.) | |
| RemoveEventListener(String, EventCallback1) | (Inherited from EventDispatcher.) | |
| RemoveEventListeners | (Inherited from EventDispatcher.) | |
| RemoveEventListeners(String) | (Inherited from EventDispatcher.) | |
| RemoveFromParent | (Inherited from GObject.) | |
| RemoveRelation | (Inherited from GObject.) | |
| ReplaceMe |
Replace this object to another object in the display list.
在显示列表中,将指定对象取代这个图形对象。这个图形对象相当于一个占位的用途。
| |
| RequestFocus |
Request focus on this object.
(Inherited from GObject.) | |
| RootToLocal |
Transforms a point from the GRoot coordinate to local coordinates system.
(Inherited from GObject.) | |
| SetHome | (Inherited from GObject.) | |
| SetNativeObject |
设置内容为一个原生对象。这个图形对象相当于一个占位的用途。
| |
| SetPivot(Single, Single) |
Change the x and y coordinates of the object's origin in its own coordinate space.
(Inherited from GObject.) | |
| SetPivot(Single, Single, Boolean) |
Change the x and y coordinates of the object's origin in its own coordinate space.
(Inherited from GObject.) | |
| SetPosition |
change the x,y,z coordinates of the object relative to the local coordinates of the parent.
(Inherited from GObject.) | |
| SetScale |
Change the scale factor.
(Inherited from GObject.) | |
| SetSize(Single, Single) |
Change size.
(Inherited from GObject.) | |
| SetSize(Single, Single, Boolean) |
Change size.
(Inherited from GObject.) | |
| Setup_AfterAdd | (Inherited from GObject.) | |
| Setup_BeforeAdd | (Overrides GObjectSetup_BeforeAdd(ByteBuffer, Int32).) | |
| SetXY(Single, Single) |
change the x and y coordinates of the object relative to the local coordinates of the parent.
(Inherited from GObject.) | |
| SetXY(Single, Single, Boolean) | (Inherited from GObject.) | |
| StartDrag | (Inherited from GObject.) | |
| StartDrag(Int32) | (Inherited from GObject.) | |
| StopDrag | (Inherited from GObject.) | |
| TransformPoint | (Inherited from GObject.) | |
| TransformRect | (Inherited from GObject.) | |
| TweenFade | (Inherited from GObject.) | |
| TweenMove | (Inherited from GObject.) | |
| TweenMoveX | (Inherited from GObject.) | |
| TweenMoveY | (Inherited from GObject.) | |
| TweenResize | (Inherited from GObject.) | |
| TweenRotate | (Inherited from GObject.) | |
| TweenScale | (Inherited from GObject.) | |
| TweenScaleX | (Inherited from GObject.) | |
| TweenScaleY | (Inherited from GObject.) | |
| WorldToLocal(Vector3) | (Inherited from GObject.) | |
| WorldToLocal(Vector3, Camera) | (Inherited from GObject.) |