YaUIImage¶
YaUIImage
controls images in the UI.Properties¶
FillMethod FillMethod¶
CLIENT ONLY
Sets the fill method of the image to OriginHorizontal, OriginVertical, Origin90, Origin180, or Origin360.
FlipType Flip¶
CLIENT ONLY
Sets the flip type of the image to horizontal or vertical.
number FillOrigin¶
CLIENT ONLY
Sets the image's origin point of the fill process to OriginHorizontal, OriginVertical, Origin90, Origin180, or Origin360.
boolean FillClockwise¶
CLIENT ONLY
Determines whether to set the fill direction to clockwise. If true, the image is filled clockwise; if false, the image is filled counterclockwise.
number FillAmount¶
CLIENT ONLY
Sets the image fill amount between 0 and 1.
Functions¶
void SetColor(string color)¶
CLIENT ONLY
Sets the color of the image.
void DoDispose()¶
CLIENT ONLY
Disposes of the image.