Interface IFormat

Hierarchy

Index

Properties

Methods

Properties

public fill: string

public font: IFont

public gradient: IGradient

public image: IImage

public round: IPoint

public shadow: IShadow

public stroke: IStroke

public transparency: number

Methods

public drawText(bounds: IRectangle, text: string): any

Parameters

Returns

any

public ellipse(x: number, y: number, width: number, height: number): any

Parameters

  • x: number
  • y: number
  • width: number
  • height: number

Returns

any

public poligon(points: IPoint[]): any

Parameters

Returns

any

public rectangle(x: number, y: number, width: number, height: number): any

Parameters

  • x: number
  • y: number
  • width: number
  • height: number

Returns

any

public textHeight(text: string): number

Parameters

  • text: string

Returns

number

public textWidth(text: string): number

Parameters

  • text: string

Returns

number