Skip to main content

Image

Namespace:FairyGUI
Source:Assets/Scripts/Core/Image.cs (line 8)

public class Image : DisplayObject, IMeshFactory

Inheritance:EventDispatcher → DisplayObject → Image

Interfaces:IMeshFactory

Inherited members​

DisplayObject

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

EventDispatcher

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

Constructors​

Image()​

public Image();

Source:Core/Image.cs (line 16)

Image(NTexture)​

public Image(NTexture texture);
ParameterTypeDescription
textureNTexture

Source:Core/Image.cs (line 24)

Fields​

_fillMesh​

protected FillMesh _fillMesh;

Source:Core/Image.cs (line 14)

_scale9Grid​

protected Rect? _scale9Grid;

Source:Core/Image.cs (line 10)

_scaleByTile​

protected bool _scaleByTile;

Source:Core/Image.cs (line 11)

_textureScale​

protected Vector2 _textureScale;

Source:Core/Image.cs (line 12)

_tileGridIndice​

protected int _tileGridIndice;

Source:Core/Image.cs (line 13)

Methods​

OnPopulateMesh(VertexBuffer)​

public void OnPopulateMesh(VertexBuffer vb);
ParameterTypeDescription
vbVertexBuffer

Source:Core/Image.cs (line 229)

SetNativeSize()​

public void SetNativeSize();

Source:Core/Image.cs (line 209)

SliceFill(VertexBuffer)​

public void SliceFill(VertexBuffer vb);
ParameterTypeDescription
vbVertexBuffer

Source:Core/Image.cs (line 286)

UpdateTexture(NTexture)​

virtual protected void UpdateTexture(NTexture value);
ParameterTypeDescription
valueNTexture

Source:Core/Image.cs (line 217)

Properties​

color​

public Color color { get; set; }

Source:Core/Image.cs (line 65)

fillAmount​

public float fillAmount { get; set; }

Source:Core/Image.cs (line 142)

fillClockwise​

public bool fillClockwise { get; set; }

Source:Core/Image.cs (line 123)

fillMethod​

public FillMethod fillMethod { get; set; }

Source:Core/Image.cs (line 81)

fillOrigin​

public int fillOrigin { get; set; }

Source:Core/Image.cs (line 104)

scale9Grid​

public Rect? scale9Grid { get; set; }

Source:Core/Image.cs (line 161)

scaleByTile​

public bool scaleByTile { get; set; }

Source:Core/Image.cs (line 177)

texture​

public NTexture texture { get; set; }

Source:Core/Image.cs (line 43)

textureScale​

public Vector2 textureScale { get; set; }

Source:Core/Image.cs (line 52)

tileGridIndice​

public int tileGridIndice { get; set; }

Source:Core/Image.cs (line 193)