Skip to main content

SelectionShape

Namespace:FairyGUI
Source:Assets/Scripts/Core/Text/SelectionShape.cs (line 10)

public class SelectionShape : DisplayObject, IMeshFactory

Inheritance:EventDispatcher → DisplayObject → SelectionShape

Interfaces:IMeshFactory

Inherited members​

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

Constructors​

SelectionShape()​

public SelectionShape();

Source:Core/Text/SelectionShape.cs (line 14)

Fields​

rects​

public readonly List<Rect> rects;

Source:Core/Text/SelectionShape.cs (line 12)

Methods​

Clear()​

public void Clear();

Source:Core/Text/SelectionShape.cs (line 60)

HitTest()​

protected override DisplayObject HitTest();

Source:Core/Text/SelectionShape.cs (line 77)

OnPopulateMesh(VertexBuffer)​

public void OnPopulateMesh(VertexBuffer vb);
ParameterTypeDescription
vbVertexBuffer

Source:Core/Text/SelectionShape.cs (line 66)

Refresh()​

public void Refresh();

Source:Core/Text/SelectionShape.cs (line 40)

Properties​

color​

public Color color { get; set; }

Source:Core/Text/SelectionShape.cs (line 27)