StyleBox

Inherits: Resource < RefCounted < Object

Inherited By: StyleBoxEmpty, StyleBoxFlat, StyleBoxLine, StyleBoxTexture

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

Properties

float

content_margin_bottom

-1.0

float

content_margin_left

-1.0

float

content_margin_right

-1.0

float

content_margin_top

-1.0

Methods

void

_draw ( RID to_canvas_item, Rect2 rect ) virtual const

Rect2

_get_draw_rect ( Rect2 rect ) virtual const

Vector2

_get_minimum_size ( ) virtual const

bool

_test_mask ( Vector2 point, Rect2 rect ) virtual const

void

draw ( RID canvas_item, Rect2 rect ) const

float

get_content_margin ( Side margin ) const

CanvasItem

get_current_item_drawn ( ) const

float

get_margin ( Side margin ) const

Vector2

get_minimum_size ( ) const

Vector2

get_offset ( ) const

void

set_content_margin ( Side margin, float offset )

void

set_content_margin_all ( float offset )

bool

test_mask ( Vector2 point, Rect2 rect ) const


Property Descriptions

float content_margin_bottom = -1.0

  • void set_content_margin ( Side margin, float offset )

  • float get_content_margin ( Side margin ) const

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


float content_margin_left = -1.0

  • void set_content_margin ( Side margin, float offset )

  • float get_content_margin ( Side margin ) const

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


float content_margin_right = -1.0

  • void set_content_margin ( Side margin, float offset )

  • float get_content_margin ( Side margin ) const

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


float content_margin_top = -1.0

  • void set_content_margin ( Side margin, float offset )

  • float get_content_margin ( Side margin ) const

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


Method Descriptions

void _draw ( RID to_canvas_item, Rect2 rect ) virtual const

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


Rect2 _get_draw_rect ( Rect2 rect ) virtual const

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


Vector2 _get_minimum_size ( ) virtual const

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


bool _test_mask ( Vector2 point, Rect2 rect ) virtual const

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


void draw ( RID canvas_item, Rect2 rect ) const

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


float get_content_margin ( Side margin ) const

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


CanvasItem get_current_item_drawn ( ) const

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


float get_margin ( Side margin ) const

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


Vector2 get_minimum_size ( ) const

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


Vector2 get_offset ( ) const

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


void set_content_margin ( Side margin, float offset )

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


void set_content_margin_all ( float offset )

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


bool test_mask ( Vector2 point, Rect2 rect ) const

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