This documentation is for the old version. Go to the latest Upload Suite docs

ImageFormat Class

This class specifies different states of Image Uploader buttons and icons.

The following table lists the members exposed by the ImageFormat type.

Properties

Name Description
public property getBackgroundColor()
setBackgroundColor($value)
Gets or sets the background color of button or icon.
public property getHeight()
setHeight($value)
Gets or sets the height of a button or icon.
public property getUrlDisabled()
setUrlDisabled($value)
Gets or sets the URL to the image which represents a button/icon when it is disabled. If omitted, last drawn image will be used.
public property getUrlHover()
setUrlHover($value)
Gets or sets the URL to the image which represents a button/icon when a mouse button is hovered over it. If omitted, last drawn image will be used.
public property getUrlHoverFocused()
setUrlHoverFocused($value)
The same as UrlHover, but used when the button/icon is in focus. If omitted, last drawn image will be used.
public property getUrlNormal()
setUrlNormal($value)
Gets or sets the URL to the image which represents the button/icon when it is not pressed, mouse pointer is not hover over it, and the button is not in focus.
public property getUrlNormalFocused()
setUrlNormalFocused($value)
The same as UrlNormal, but used when the button is in focus. If omitted, last drawn image will be used.
public property getUrlPressed()
setUrlPressed($value)
Gets or sets the URL to the image which represents a button/icon when it is pressed. If omitted, last drawn image will be used.
public property getWidth()
setWidth($value)
Gets or sets the width of a button or icon.