StyleBoxTexture

Inherits: StyleBox < Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Properties

AxisStretchMode

axis_stretch_horizontal

0

AxisStretchMode

axis_stretch_vertical

0

bool

draw_center

true

float

expand_margin_bottom

0.0

float

expand_margin_left

0.0

float

expand_margin_right

0.0

float

expand_margin_top

0.0

Color

modulate_color

Color(1, 1, 1, 1)

Rect2

region_rect

Rect2(0, 0, 0, 0)

Texture2D

texture

float

texture_margin_bottom

0.0

float

texture_margin_left

0.0

float

texture_margin_right

0.0

float

texture_margin_top

0.0

Methods

float

get_expand_margin ( Side margin ) const

float

get_texture_margin ( Side margin ) const

void

set_expand_margin ( Side margin, float size )

void

set_expand_margin_all ( float size )

void

set_texture_margin ( Side margin, float size )

void

set_texture_margin_all ( float size )


Enumerations

enum AxisStretchMode:

AxisStretchMode AXIS_STRETCH_MODE_STRETCH = 0

There is currently no description for this enum. Please help us by contributing one!

AxisStretchMode AXIS_STRETCH_MODE_TILE = 1

There is currently no description for this enum. Please help us by contributing one!

AxisStretchMode AXIS_STRETCH_MODE_TILE_FIT = 2

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

AxisStretchMode axis_stretch_horizontal = 0

There is currently no description for this property. Please help us by contributing one!


AxisStretchMode axis_stretch_vertical = 0

There is currently no description for this property. Please help us by contributing one!


bool draw_center = true

  • void set_draw_center ( bool value )

  • bool is_draw_center_enabled ( )

There is currently no description for this property. Please help us by contributing one!


float expand_margin_bottom = 0.0

  • void set_expand_margin ( Side margin, float size )

  • float get_expand_margin ( Side margin ) const

There is currently no description for this property. Please help us by contributing one!


float expand_margin_left = 0.0

  • void set_expand_margin ( Side margin, float size )

  • float get_expand_margin ( Side margin ) const

There is currently no description for this property. Please help us by contributing one!


float expand_margin_right = 0.0

  • void set_expand_margin ( Side margin, float size )

  • float get_expand_margin ( Side margin ) const

There is currently no description for this property. Please help us by contributing one!


float expand_margin_top = 0.0

  • void set_expand_margin ( Side margin, float size )

  • float get_expand_margin ( Side margin ) const

There is currently no description for this property. Please help us by contributing one!


Color modulate_color = Color(1, 1, 1, 1)

  • void set_modulate ( Color value )

  • Color get_modulate ( )

There is currently no description for this property. Please help us by contributing one!


Rect2 region_rect = Rect2(0, 0, 0, 0)

  • void set_region_rect ( Rect2 value )

  • Rect2 get_region_rect ( )

There is currently no description for this property. Please help us by contributing one!


Texture2D texture

There is currently no description for this property. Please help us by contributing one!


float texture_margin_bottom = 0.0

  • void set_texture_margin ( Side margin, float size )

  • float get_texture_margin ( Side margin ) const

There is currently no description for this property. Please help us by contributing one!


float texture_margin_left = 0.0

  • void set_texture_margin ( Side margin, float size )

  • float get_texture_margin ( Side margin ) const

There is currently no description for this property. Please help us by contributing one!


float texture_margin_right = 0.0

  • void set_texture_margin ( Side margin, float size )

  • float get_texture_margin ( Side margin ) const

There is currently no description for this property. Please help us by contributing one!


float texture_margin_top = 0.0

  • void set_texture_margin ( Side margin, float size )

  • float get_texture_margin ( Side margin ) const

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

float get_expand_margin ( Side margin ) const

There is currently no description for this method. Please help us by contributing one!


float get_texture_margin ( Side margin ) const

There is currently no description for this method. Please help us by contributing one!


void set_expand_margin ( Side margin, float size )

There is currently no description for this method. Please help us by contributing one!


void set_expand_margin_all ( float size )

There is currently no description for this method. Please help us by contributing one!


void set_texture_margin ( Side margin, float size )

There is currently no description for this method. Please help us by contributing one!


void set_texture_margin_all ( float size )

There is currently no description for this method. Please help us by contributing one!