How to modify the texture border size of a SUIImage by script using Java.md
In your Java class, do the following:
public class YourClass extends Component {
// creates a new SUIImage, @AutoWired selects the component from this object
@AutoWired
private SUIImage image;
@Override
public void start() {
}
@Override
public void repeat() {
// change the borders of the SUIImage
image.setBorder(8);
}
}