SFont.d.ts 432 B

12345678910111213
  1. import { STextAlign } from "./enums/STextAlign";
  2. import { STextBaseLine } from "./enums/STextBaseLine";
  3. import { STextDirection } from "./enums/STextDirection";
  4. export declare class SFont {
  5. name: string;
  6. size: number;
  7. textAlign: STextAlign;
  8. readonly textBaseLine = STextBaseLine.Top;
  9. textDirection: STextDirection;
  10. constructor();
  11. constructor(font: SFont);
  12. constructor(name: string, size?: number);
  13. }