extends GuiButton
Class fields
| Field | XML type | Value |
|---|---|---|
Name | string | ImageButton |
summary | string | A GUI button containing an Image |
ExplorerOrder | string | 16 |
ExplorerImageIndex | string | 52 |
PreferredParent | string | StarterGui |
Properties
7Image
Content| Field | XML type | Value |
|---|---|---|
Name | string | Image |
summary | string | Specifies the asset id of the texture to display. <a href="http://wiki.roblox.com/index.php?title=API:Class/ImageButton/Image" target="_blank">More info</a> |
ImageColor3
Color3| Field | XML type | Value |
|---|---|---|
Name | string | ImageColor3 |
ImageRectOffset
Vector2| Field | XML type | Value |
|---|---|---|
Name | string | ImageRectOffset |
ImageRectSize
Vector2| Field | XML type | Value |
|---|---|---|
Name | string | ImageRectSize |
ImageTransparency
float| Field | XML type | Value |
|---|---|---|
Name | string | ImageTransparency |
ScaleType
ScaleType| Field | XML type | Value |
|---|---|---|
Name | string | ScaleType |
summary | string | Specifies how an image should be displayed. See ScaleType for more info. |
SliceCenter
Rect2D| Field | XML type | Value |
|---|---|---|
Name | string | SliceCenter |
summary | string | If ScaleType is set to Slice, this Rect is used to specify the central part of the image. Everything outside of this is considered to be the border. |