Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to abstract am image to use with the canvas and its context

Hierarchy

  • IImage

Index

Properties

crossOrigin: null | string

provides support for CORS, defining how the element handles crossorigin requests, thereby enabling the configuration of the CORS requests for the element's fetched data.

height: number

Image height.

naturalHeight: number

The original height of the image resource before sizing.

naturalWidth: number

The original width of the image resource before sizing.

onerror: null | ((this: GlobalEventHandlers, ev: Event) => any)

Error callback.

onload: null | ((this: GlobalEventHandlers, ev: Event) => any)

onload callback.

referrerPolicy: string

provides support for referrer policy on xhr load request, it is used to control the request header.

src: string

Image source.

width: number

Image width.

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme