Class: Image

Static Methods


Image Image.new()

Properties


string Data

Determines the raw image data for an Image.

Vector2 ImageSize [readonly]

Determines the dimensions of the image held by the Data property.

Vector2 Size

Determines the size of an Image.

Vector2 Position

Determines the position of an Image.

number Rounding

Determines the roundness of an Image.

Inherited from DrawEntry:
bool Visible

Determines whether a DrawEntry will be rendered.

int ZIndex

Determines the order in which a DrawEntry is rendered relative to other GUIs.

float Transparency

A V2-era misnomer and now alias for 'Opacity'. Deprecated.

float Opacity

A value between 0 and 1 that indicates the opacity of a DrawEntry, where 0 is fully transparent and 1 is fully opaque.

Color3 Color

Determines the color of a DrawEntry.

Vector3 ColorVec3 [writeonly]

Used to set Color via a Vector3. Write-only.

Methods


Inherited from DrawEntry:
void Image:Remove()

Disables a DrawEntry.

void Image:Destroy()

An alias for Remove.

void Image:MoveToFront()

Moves a DrawEntry to the front of the current ZIndex's draw list.

void Image:MoveToBack()

Moves a DrawEntry to the back of the current ZIndex's draw list.