Image
命名空间:FairyGUI
源码:Assets/Scripts/Core/Image.cs (行 8)
public class Image : DisplayObject, IMeshFactory
继承:EventDispatcher → DisplayObject → Image
接口:IMeshFactory
继承成员
onPaint, _contentRect, _flags, _paintingInfo, _paintingMode, _vertexMatrix, gOwner, id, name, AddToBatch, CreateGameObject, DestroyGameObject, Dispose, EnsureSizeCorrect, EnterPaintingMode, GetBounds, GetScreenShot, GlobalToLocal, HitTest, 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
AddCapture, AddEventListener, BroadcastEvent, BubbleEvent, DispatchEvent, RemoveCapture, RemoveEventListener, RemoveEventListeners, hasEventListeners, isDispatching
构造函数
Image()
public Image();
源码:Core/Image.cs (行 16)
Image(NTexture)
public Image(NTexture texture);
| 参数 | 类型 | 说明 |
|---|---|---|
texture | NTexture |
源码:Core/Image.cs (行 24)
字段
_fillMesh
protected FillMesh _fillMesh;
源码:Core/Image.cs (行 14)
_scale9Grid
protected Rect? _scale9Grid;
源码:Core/Image.cs (行 10)
_scaleByTile
protected bool _scaleByTile;
源码:Core/Image.cs (行 11)
_textureScale
protected Vector2 _textureScale;
源码:Core/Image.cs (行 12)
_tileGridIndice
protected int _tileGridIndice;
源码:Core/Image.cs (行 13)
方法
OnPopulateMesh(VertexBuffer)
public void OnPopulateMesh(VertexBuffer vb);
| 参数 | 类型 | 说明 |
|---|---|---|
vb | VertexBuffer |
源码:Core/Image.cs (行 229)
SetNativeSize()
public void SetNativeSize();
源码:Core/Image.cs (行 209)
SliceFill(VertexBuffer)
public void SliceFill(VertexBuffer vb);
| 参数 | 类型 | 说明 |
|---|---|---|
vb | VertexBuffer |
源码:Core/Image.cs (行 286)
UpdateTexture(NTexture)
virtual protected void UpdateTexture(NTexture value);
| 参数 | 类型 | 说明 |
|---|---|---|
value | NTexture |
源码:Core/Image.cs (行 217)
属性
color
public Color color { get; set; }
源码:Core/Image.cs (行 65)
fillAmount
public float fillAmount { get; set; }
源码:Core/Image.cs (行 142)
fillClockwise
public bool fillClockwise { get; set; }
源码:Core/Image.cs (行 123)
fillMethod
public FillMethod fillMethod { get; set; }
源码:Core/Image.cs (行 81)
fillOrigin
public int fillOrigin { get; set; }
源码:Core/Image.cs (行 104)
scale9Grid
public Rect? scale9Grid { get; set; }
源码:Core/Image.cs (行 161)
scaleByTile
public bool scaleByTile { get; set; }
源码:Core/Image.cs (行 177)
texture
public NTexture texture { get; set; }
源码:Core/Image.cs (行 43)
textureScale
public Vector2 textureScale { get; set; }
源码:Core/Image.cs (行 52)
tileGridIndice
public int tileGridIndice { get; set; }
源码:Core/Image.cs (行 193)