ImageButton

extends GuiButton

Class fields

FieldXML typeValue
NamestringImageButton
summarystringA GUI button containing an Image
ExplorerOrderstring16
ExplorerImageIndexstring52
PreferredParentstringStarterGui

Properties

7
Image
Content
FieldXML typeValue
NamestringImage
summarystringSpecifies 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
FieldXML typeValue
NamestringImageColor3
ImageRectOffset
Vector2
FieldXML typeValue
NamestringImageRectOffset
ImageRectSize
Vector2
FieldXML typeValue
NamestringImageRectSize
ImageTransparency
float
FieldXML typeValue
NamestringImageTransparency
ScaleType
ScaleType
FieldXML typeValue
NamestringScaleType
summarystringSpecifies how an image should be displayed. See ScaleType for more info.
SliceCenter
Rect2D
FieldXML typeValue
NamestringSliceCenter
summarystringIf 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.