StyleBoxTexture

Inherits: StyleBox < Resource < Reference < Object

Category: Core

Brief Description

Texture Based 3x3 scale style.

Methods

void set_expand_margin_all ( float size )
void set_expand_margin_individual ( float size_left, float size_top, float size_right, float size_bottom )

Signals

  • texture_changed ( )

Enumerations

enum AxisStretchMode:

  • AXIS_STRETCH_MODE_STRETCH = 0
  • AXIS_STRETCH_MODE_TILE = 1
  • AXIS_STRETCH_MODE_TILE_FIT = 2

Description

Texture Based 3x3 scale style. This stylebox performs a 3x3 scaling of a texture, where only the center cell is fully stretched. This allows for the easy creation of bordered styles.

Property Descriptions

Setter set_h_axis_stretch_mode(value)
Getter get_h_axis_stretch_mode()
Setter set_v_axis_stretch_mode(value)
Getter get_v_axis_stretch_mode()
Setter set_draw_center(value)
Getter is_draw_center_enabled()
  • float expand_margin_bottom
Setter set_expand_margin_size(value)
Getter get_expand_margin_size()
  • float expand_margin_left
Setter set_expand_margin_size(value)
Getter get_expand_margin_size()
  • float expand_margin_right
Setter set_expand_margin_size(value)
Getter get_expand_margin_size()
  • float expand_margin_top
Setter set_expand_margin_size(value)
Getter get_expand_margin_size()
Setter set_margin_size(value)
Getter get_margin_size()
Setter set_margin_size(value)
Getter get_margin_size()
Setter set_margin_size(value)
Getter get_margin_size()
Setter set_margin_size(value)
Getter get_margin_size()
Setter set_modulate(value)
Getter get_modulate()
Setter set_normal_map(value)
Getter get_normal_map()
Setter set_region_rect(value)
Getter get_region_rect()
Setter set_texture(value)
Getter get_texture()

Method Descriptions

  • void set_expand_margin_all ( float size )
  • void set_expand_margin_individual ( float size_left, float size_top, float size_right, float size_bottom )