Hierarchy

  • Font

Index

Constructors

constructor

  • new Font(name: string, size: number, color: Color, isBold?: boolean): Font
  • Parameters

    • name: string
    • size: number
    • color: Color
    • Default value isBold: boolean = false

    Returns Font

Properties

Color

Color: Color

IsBold

IsBold: boolean

Name

Name: string

SelectedColor

SelectedColor: Color = Color.white

Size

Size: number

Methods

getCachedGdiFont

  • getCachedGdiFont(): Font

getGdiFont

  • getGdiFont(zoom?: number, fontSize?: number, baseFont?: Font): Font
  • Parameters

    • Default value zoom: number = 1
    • Default value fontSize: number = null
    • Default value baseFont: Font = null

    Returns Font

Generated using TypeDoc