StyleBoxTexture

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.

@GodotBaseClass
struct StyleBoxTexture {}

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Enums

AxisStretchMode
enum AxisStretchMode
Constants
enum Constants

Functions

getExpandMarginSize
double getExpandMarginSize(long margin)
getHAxisStretchMode
StyleBoxTexture.AxisStretchMode getHAxisStretchMode()
getMarginSize
double getMarginSize(long margin)
getModulate
Color getModulate()
getNormalMap
Ref!Texture getNormalMap()
getRegionRect
Rect2 getRegionRect()
getTexture
Ref!Texture getTexture()
getVAxisStretchMode
StyleBoxTexture.AxisStretchMode getVAxisStretchMode()
isDrawCenterEnabled
bool isDrawCenterEnabled()
opAssign
StyleBoxTexture opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(StyleBoxTexture other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
setDrawCenter
void setDrawCenter(bool enable)
setExpandMarginAll
void setExpandMarginAll(double size)
setExpandMarginIndividual
void setExpandMarginIndividual(double size_left, double size_top, double size_right, double size_bottom)
setExpandMarginSize
void setExpandMarginSize(long margin, double size)
setHAxisStretchMode
void setHAxisStretchMode(long mode)
setMarginSize
void setMarginSize(long margin, double size)
setModulate
void setModulate(Color color)
setNormalMap
void setNormalMap(Texture normal_map)
setRegionRect
void setRegionRect(Rect2 region)
setTexture
void setTexture(Texture texture)
setVAxisStretchMode
void setVAxisStretchMode(long mode)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

axisStretchHorizontal
StyleBoxTexture.AxisStretchMode axisStretchHorizontal [@property getter]
long axisStretchHorizontal [@property setter]
axisStretchVertical
StyleBoxTexture.AxisStretchMode axisStretchVertical [@property getter]
long axisStretchVertical [@property setter]
drawCenter
bool drawCenter [@property setter]
drawCenter
bool drawCenter [@property getter]
expandMarginBottom
double expandMarginBottom [@property getter]
double expandMarginBottom [@property setter]
expandMarginLeft
double expandMarginLeft [@property getter]
double expandMarginLeft [@property setter]
expandMarginRight
double expandMarginRight [@property getter]
double expandMarginRight [@property setter]
expandMarginTop
double expandMarginTop [@property getter]
double expandMarginTop [@property setter]
marginBottom
double marginBottom [@property getter]
double marginBottom [@property setter]
marginLeft
double marginLeft [@property getter]
double marginLeft [@property setter]
marginRight
double marginRight [@property getter]
double marginRight [@property setter]
marginTop
double marginTop [@property getter]
double marginTop [@property setter]
modulateColor
Color modulateColor [@property getter]
Color modulateColor [@property setter]
normalMap
Texture normalMap [@property getter]
Texture normalMap [@property setter]
regionRect
Rect2 regionRect [@property getter]
Rect2 regionRect [@property setter]
texture
Texture texture [@property getter]
Texture texture [@property setter]

Static functions

_new
StyleBoxTexture _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta