Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

blit

blitSection

  • blitSection(surface: Surface, x: number, y: number, texture: Texture, sx: number, sy: number, width: number, height: number, mask?: Color): void

drawCircle

  • drawCircle(surface: Surface, x: number, y: number, radius: number, color: Color): void

drawEllipse

  • drawEllipse(surface: Surface, x: number, y: number, rx: number, ry: number, color: Color): void

drawLine

  • drawLine(surface: Surface, x1: number, y1: number, x2: number, y2: number, thickness: number, color: Color, color2?: Color): void

drawPoint

  • drawPoint(surface: Surface, x: number, y: number, color: Color): void

drawRectangle

  • drawRectangle(surface: Surface, x: number, y: number, width: number, height: number, thickness: number, color: Color): void

drawSolidCircle

  • drawSolidCircle(surface: Surface, x: number, y: number, radius: number, color: Color, color2?: Color): void

drawSolidEllipse

  • drawSolidEllipse(surface: Surface, x: number, y: number, rx: number, ry: number, color: Color, color2?: Color): void

drawSolidRectangle

  • drawSolidRectangle(surface: Surface, x: number, y: number, width: number, height: number, color: Color): void
  • drawSolidRectangle(surface: Surface, x: number, y: number, width: number, height: number, colorUL: Color, colorUR: Color, colorLR: Color, colorLL: Color): void

drawSolidTriangle

  • drawSolidTriangle(surface: Surface, x1: number, y1: number, x2: number, y2: number, x3: number, y3: number, color: Color): void
  • drawSolidTriangle(surface: Surface, x1: number, y1: number, x2: number, y2: number, x3: number, y3: number, color1: Color, color2: Color, color3: Color): void

fill

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc