/
DynamicFontData.hx
53 lines (42 loc) · 1.38 KB
/
DynamicFontData.hx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Automatically generated Godot externs: DO NOT EDIT
// MIT licensed, see LICENSE.md
package godot;
import cs.system.*;
/**
Used with `godot.DynamicFont` to describe the location of a vector font file for dynamic rendering at runtime.
**/
@:libType
@:csNative
@:native("Godot.DynamicFontData")
@:autoBuild(godot.Godot.buildUserClass())
extern class DynamicFontData extends godot.Resource {
/**
The path to the vector font file.
**/
@:native("FontPath")
public var fontPath:std.String;
/**
The font hinting mode used by FreeType. See `godot.DynamicFontData_HintingEnum` for options.
**/
@:native("Hinting")
public var hinting:godot.DynamicFontData_HintingEnum;
/**
If `true`, the font is rendered with anti-aliasing. This property applies both to the main font and its outline (if it has one).
**/
@:native("Antialiased")
public var antialiased:Bool;
@:native("new")
public function new():Void;
@:native("SetAntialiased")
public function setAntialiased(antialiased:Bool):Void;
@:native("IsAntialiased")
public function isAntialiased():Bool;
@:native("SetFontPath")
public function setFontPath(path:std.String):Void;
@:native("GetFontPath")
public function getFontPath():std.String;
@:native("SetHinting")
public function setHinting(mode:godot.DynamicFontData_HintingEnum):Void;
@:native("GetHinting")
public function getHinting():godot.DynamicFontData_HintingEnum;
}