मुख्य कंटेंट तक स्किप करें

Class: SUIButton

This page documents the methods and fields available in the SUIButton class.

Members

SignatureDescription
getNormalBorder()Returns the current normal border.
getNormalBorderUnitType()Returns the current normal border unit type.
getNormalColor()Returns the current normal color.
getNormalImage()Returns the current normal image.
getNormalImageType()Returns the current normal image type.
getPressedBorder()Returns the current pressed border.
getPressedBorderUnitType()Returns the current pressed border unit type.
getPressedColor()Returns the current pressed color.
getPressedImage()Returns the current pressed image.
getPressedImageType()Returns the current pressed image type.
getTargetRectObject()Returns the current target rect object.
getTargetRectType()Returns the current target rect type.
isClickable()Returns whether clickable is true.
isDown()Returns whether down is true.
isNormalIgnoreMask()Returns whether normal ignore mask is true.
isPressed()Returns whether pressed is true.
isPressedIgnoreMask()Returns whether pressed ignore mask is true.
isUp()Returns whether up is true.
setClickable(boolean)Sets or updates the clickable.
setNormalBorder(int)Sets or updates the normal border.
setNormalBorder(int, SUnitType)Sets or updates the normal border.
setNormalBorderUnitType(SUnitType)Sets or updates the normal border unit type.
setNormalColor(Color)Sets or updates the normal color.
setNormalIgnoreMask(boolean)Sets or updates the normal ignore mask.
setNormalImage(Texture)Sets or updates the normal image.
setNormalImageType(SImageType)Sets or updates the normal image type.
setPressedBorder(int)Sets or updates the pressed border.
setPressedBorder(int, SUnitType)Sets or updates the pressed border.
setPressedBorderUnitType(SUnitType)Sets or updates the pressed border unit type.
setPressedColor(Color)Sets or updates the pressed color.
setPressedIgnoreMask(boolean)Sets or updates the pressed ignore mask.
setPressedImage(Texture)Sets or updates the pressed image.
setPressedImageType(SImageType)Sets or updates the pressed image type.
setTargetRectObject(SpatialObject)Sets or updates the target rect object.
setTargetRectType(STargetRect)Sets or updates the target rect type.