StretchMode
Entries
Link copied to clipboard
The texture keeps its original size and stays centered in the node's bounding rectangle.
Link copied to clipboard
Scale the texture to fit the node's bounding rectangle, but maintain the texture's aspect ratio.
Link copied to clipboard
Scale the texture to fit the node's bounding rectangle, center it and maintain its aspect ratio.
Link copied to clipboard
Scale the texture so that the shorter side fits the bounding rectangle. The other side clips to the node's limits.
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.