NinePatchRect

Inherits: Control < CanvasItem < Node < 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

MouseFilter

mouse_filter

2 (overrides Control)

int

patch_margin_bottom

0

int

patch_margin_left

0

int

patch_margin_right

0

int

patch_margin_top

0

Rect2

region_rect

Rect2(0, 0, 0, 0)

Texture2D

texture

Methods

int

get_patch_margin ( Side margin ) const

void

set_patch_margin ( Side margin, int value )


Signals

texture_changed ( )

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


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!


int patch_margin_bottom = 0

  • void set_patch_margin ( Side margin, int value )

  • int get_patch_margin ( Side margin ) const

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


int patch_margin_left = 0

  • void set_patch_margin ( Side margin, int value )

  • int get_patch_margin ( Side margin ) const

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


int patch_margin_right = 0

  • void set_patch_margin ( Side margin, int value )

  • int get_patch_margin ( Side margin ) const

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


int patch_margin_top = 0

  • void set_patch_margin ( Side margin, int value )

  • int get_patch_margin ( Side margin ) const

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!


Method Descriptions

int get_patch_margin ( Side margin ) const

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


void set_patch_margin ( Side margin, int value )

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