DynamicFontData

Used with DynamicFont to describe the location of a font file.

Used with DynamicFont to describe the location of a vector font file for dynamic rendering at runtime.

Members

Aliases

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

Enums

Constants
enum Constants
Hinting
enum Hinting

Functions

getFontPath
String getFontPath()
getHinting
DynamicFontData.Hinting getHinting()
isAntialiased
bool isAntialiased()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(DynamicFontData other)
opEquals
bool opEquals(typeof(null) n)
setAntialiased
void setAntialiased(bool antialiased)
setFontPath
void setFontPath(String path)
setHinting
void setHinting(long mode)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

antialiased
bool antialiased [@property getter]
bool antialiased [@property setter]

If true, the font is rendered with anti-aliasing. This property applies both to the main font and its outline (if it has one).

fontPath
String fontPath [@property getter]
String fontPath [@property setter]

The path to the vector font file.

hinting
DynamicFontData.Hinting hinting [@property getter]
long hinting [@property setter]

The font hinting mode used by FreeType. See hinting for options.

Static functions

_new
DynamicFontData _new()

Construct a new instance of DynamicFontData. Note: use memnew!DynamicFontData instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
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
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(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