|
@@ -1,5 +1,10 @@
|
|
package hxd.res;
|
|
package hxd.res;
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ Allows to build a font bitmap to be used by h2d.Text. Only some platforms support such runtime Font building
|
|
|
|
+ and the result in terms of font quality, antialiasing, etc might vary depending on the platform.
|
|
|
|
+ It is recommended to use offline BitmapFont instead, read https://heaps.io/documentation/text.html
|
|
|
|
+**/
|
|
class Font extends Resource {
|
|
class Font extends Resource {
|
|
|
|
|
|
public function build( size : Int, ?options ) : h2d.Font {
|
|
public function build( size : Int, ?options ) : h2d.Font {
|