Returns the size of the given margin's expand margin. See margin for possible values.
Returns the size of the given margin. See margin for possible values.
Sets the expand margin to size pixels for all margins.
Sets the expand margin for each margin to size_left, size_top, size_right, and size_bottom pixels.
Sets the expand margin to size pixels for the given margin. See margin for possible values.
Sets the margin to size pixels for the given margin. See margin for possible values.
Controls how the stylebox's texture will be stretched or tiled horizontally. See axisstretchmode for possible values.
Controls how the stylebox's texture will be stretched or tiled vertically. See axisstretchmode for possible values.
If true, the nine-patch texture's center tile will be drawn.
Expands the bottom margin of this style box when drawing, causing it to be drawn larger than requested.
Expands the left margin of this style box when drawing, causing it to be drawn larger than requested.
Expands the right margin of this style box when drawing, causing it to be drawn larger than requested.
Expands the top margin of this style box when drawing, causing it to be drawn larger than requested.
Increases the bottom margin of the 3×3 texture box. A higher value means more of the source texture is considered to be part of the bottom border of the 3×3 box. This is also the value used as fallback for StyleBox.contentMarginBottom if it is negative.
Increases the left margin of the 3×3 texture box. A higher value means more of the source texture is considered to be part of the left border of the 3×3 box. This is also the value used as fallback for StyleBox.contentMarginLeft if it is negative.
Increases the right margin of the 3×3 texture box. A higher value means more of the source texture is considered to be part of the right border of the 3×3 box. This is also the value used as fallback for StyleBox.contentMarginRight if it is negative.
Increases the top margin of the 3×3 texture box. A higher value means more of the source texture is considered to be part of the top border of the 3×3 box. This is also the value used as fallback for StyleBox.contentMarginTop if it is negative.
Modulates the color of the texture when this style box is drawn.
The normal map to use when drawing this style box. Note: Godot expects the normal map to use X+, Y-, and Z+ coordinates. See url=http://wiki.polycount.com/wiki/Normal_Map_Technical_Details#Common_Swizzle_Coordinatesthis page/url for a comparison of normal map coordinates expected by popular engines.
Species a sub-region of the texture to use. This is equivalent to first wrapping the texture in an AtlasTexture with the same region.
The texture to use when drawing this style box.
Construct a new instance of StyleBoxTexture. Note: use memnew!StyleBoxTexture instead.
Texture-based nine-patch StyleBox.
Texture-based nine-patch StyleBox, in a way similar to NinePatchRect. This stylebox performs a 3×3 scaling of a texture, where only the center cell is fully stretched. This makes it possible to design bordered styles regardless of the stylebox's size.