- getStretchMode
TextureRect.StretchMode getStretchMode()
- getTexture
Ref!Texture getTexture()
- hasExpand
bool hasExpand()
- opAssign
TextureRect opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(TextureRect other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- setExpand
void setExpand(bool enable)
- setStretchMode
void setStretchMode(long stretch_mode)
- setTexture
void setTexture(Texture texture)
Control for drawing textures.
Used to draw icons and sprites in a user interface. The texture's placement can be controlled with the stretchMode property. It can scale, tile, or stay centered inside its bounding rectangle.