跳到主要内容

SelectionShape

命名空间:FairyGUI
源码:Assets/Scripts/Core/Text/SelectionShape.cs (行 10)

public class SelectionShape : DisplayObject, IMeshFactory

继承:EventDispatcher → DisplayObject → SelectionShape

接口:IMeshFactory

继承成员​

DisplayObject

onPaint, _contentRect, _flags, _paintingInfo, _paintingMode, _vertexMatrix, gOwner, id, name, AddToBatch, CreateGameObject, DestroyGameObject, Dispose, EnsureSizeCorrect, EnterPaintingMode, GetBounds, GetScreenShot, GlobalToLocal, InvalidateBatchingState, LeavePaintingMode, LocalToGlobal, LocalToWorld, OnSizeChanged, RemoveFromParent, SetGameObject, SetLayer, SetPosition, SetRenderingOrder, SetScale, SetSize, SetXY, TransformPoint, TransformRect, TransformRectPoint, Update, WorldToLocal, alpha, blendMode, cacheAsBitmap, cachedTransform, cursor, filter, focalLength, focusable, focused, gameObject, graphics, grayed, height, home, isDisposed, layer, location, material, onAddedToStage, onClickLink, onClick, onFocusIn, onFocusOut, onKeyDown, onMouseWheel, onRemovedFromStage, onRightClick, onRollOut, onRollOver, onTouchBegin, onTouchEnd, onTouchMove, paintingGraphics, paintingMode, parent, perspective, pivot, pixelPerfect, position, renderingOrder, rotationX, rotationY, rotation, scaleX, scaleY, scale, shader, size, skew, stage, tabStop, topmost, touchDisabled, touchable, visible, width, worldSpaceContainer, xy, x, y, z

EventDispatcher

AddCapture, AddEventListener, BroadcastEvent, BubbleEvent, DispatchEvent, RemoveCapture, RemoveEventListener, RemoveEventListeners, hasEventListeners, isDispatching

构造函数​

SelectionShape()​

public SelectionShape();

源码:Core/Text/SelectionShape.cs (行 14)

字段​

rects​

public readonly List<Rect> rects;

源码:Core/Text/SelectionShape.cs (行 12)

方法​

Clear()​

public void Clear();

源码:Core/Text/SelectionShape.cs (行 60)

HitTest()​

protected override DisplayObject HitTest();

源码:Core/Text/SelectionShape.cs (行 77)

OnPopulateMesh(VertexBuffer)​

public void OnPopulateMesh(VertexBuffer vb);
参数类型说明
vbVertexBuffer

源码:Core/Text/SelectionShape.cs (行 66)

Refresh()​

public void Refresh();

源码:Core/Text/SelectionShape.cs (行 40)

属性​

color​

public Color color { get; set; }

源码:Core/Text/SelectionShape.cs (行 27)