Class OpLabel
public class OpLabel : UIelement
- Inheritance
-
OpLabel
- Derived
- Inherited Members
Constructors
OpLabel(float, float, string, bool)
public OpLabel(float posX, float posY, string text = "TEXT", bool bigText = false)
Parameters
OpLabel(Vector2, Vector2, string, FLabelAlignment, bool, FTextParams)
public OpLabel(Vector2 pos, Vector2 size, string text = "TEXT", FLabelAlignment alignment = FLabelAlignment.Center, bool bigText = false, FTextParams textParams = null)
Parameters
posVector2sizeVector2textstringalignmentFLabelAlignmentbigTextbooltextParamsFTextParams
Fields
_alignment
public FLabelAlignment _alignment
Field Value
_bigText
public readonly bool _bigText
Field Value
_displayText
public string _displayText
Field Value
_text
public string _text
Field Value
_verticalAlignment
public OpLabel.LabelVAlignment _verticalAlignment
Field Value
alpha
public float alpha
Field Value
autoWrap
public bool autoWrap
Field Value
bumpBehav
public BumpBehaviour bumpBehav
Field Value
color
public Color color
Field Value
- Color
label
public FLabel label
Field Value
Properties
_IsLong
public bool _IsLong { get; }
Property Value
alignment
public FLabelAlignment alignment { get; set; }
Property Value
text
public string text { get; set; }
Property Value
verticalAlignment
public OpLabel.LabelVAlignment verticalAlignment { get; set; }
Property Value
Methods
Change()
public override void Change()
GetDisplaySize()
public virtual Vector2 GetDisplaySize()
Returns
- Vector2
GetLineCount()
public int GetLineCount()
Returns
GrafUpdate(float)
public override void GrafUpdate(float timeStacker)
Parameters
timeStackerfloat
_IndexOfLineBreakOccurence(int)
public int _IndexOfLineBreakOccurence(int occurence)
Parameters
occurenceint