ORK Framework  2.25.1
API Documentation
ORKFramework.UI.ImageLabel Class Reference
Inheritance diagram for ORKFramework.UI.ImageLabel:
ORKFramework.UI.BaseLabel

Public Member Functions

 ImageLabel (Texture image, Rect bounds)
 
 ImageLabel (Texture image, Rect bounds, ScaleMode scaleMode, bool alphaBlend, float imageAspect)
 
 ImageLabel (Texture image, Rect bounds, Rect texCoords, bool alphaBlend)
 
 ImageLabel (Texture image, Rect bounds, Material material)
 
 ImageLabel (Texture image, Rect bounds, Rect texCoords, Material material)
 
void Update (Texture image, Rect bounds)
 
void Update (Texture image, Rect bounds, ScaleMode scaleMode, bool alphaBlend, float imageAspect)
 
void Update (Texture image, Rect bounds, Rect texCoords, bool alphaBlend)
 
void Update (Texture image, Rect bounds, Material material)
 
void Update (Texture image, Rect bounds, Rect texCoords, Material material)
 
override void Show ()
 
override void Show (int length)
 
override void ShowAt (Vector2 position)
 
override void ChangeX (float add)
 
override void ChangeY (float add)
 
override void CreateObject (GUIBox box, GameObject parent, bool addNoFlash, bool poolUnregister)
 
RawImage CreateObject (GameObject parent)
 
override void NewUITyping (int length, bool show)
 
- Public Member Functions inherited from ORKFramework.UI.BaseLabel
virtual void SetPosition (Vector2 position)
 
virtual void SetSize (float width, float height)
 
virtual void SetHeight (float height)
 
virtual DragInfo GetDragOnPosition (GUIBox box, Vector2 position)
 
virtual bool CheckDrop (Combatant combatant, DragInfo drag, Vector2 position)
 
virtual IContentSimple GetTooltip (Vector2 position)
 

Public Attributes

Texture image
 
ScaleMode scaleMode = ScaleMode.StretchToFill
 
bool alphaBlend = true
 
float imageAspect = 0
 
Material material
 
bool useTexCoords = false
 
Rect texCoords
 
- Public Attributes inherited from ORKFramework.UI.BaseLabel
Rect bounds
 
bool allowResize = true
 
RectTransform rectTransform
 

Properties

override int Length [get]
 
- Properties inherited from ORKFramework.UI.BaseLabel
abstract int Length [get]
 

Additional Inherited Members

- Protected Member Functions inherited from ORKFramework.UI.BaseLabel
void CheckLabelBounds (BaseLabel check)