Hierarchy

  • Image

Index

Properties

aspectRatio

aspectRatio: boolean = true

data

data: any

headers

headers: Header[]

horAlignment

horAlignment: number = 1

imageData

imageData: any

imageFormat

imageFormat: ImageFormat

imageRotation

imageRotation: number = 0

multipleFactor

multipleFactor: number = 1

stretch

stretch: boolean = false

url

url: string

vertAlignment

vertAlignment: number = 0

zoom

zoom: number = 1

Accessors

base64

  • get base64(): string
  • set base64(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

bytes

  • get bytes(): number[]
  • set bytes(value: number[]): void
  • Returns number[]

  • Parameters

    • value: number[]

    Returns void

height

  • get height(): number
  • Returns number

horizontalResolution

  • get horizontalResolution(): number
  • Returns number

svg

  • get svg(): string
  • set svg(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

verticalResolution

  • get verticalResolution(): number
  • Returns number

width

  • get width(): number
  • Returns number

Methods

clone

convertAsync

  • Parameters

    • imageFormat: ImageFormat
    • Default value flate: boolean = false
    • Default value rect: Rectangle = null
    • Default value reconvert: boolean = false
    • Default value hashTable: Hashtable = null

    Returns Promise<void>

dispose

  • dispose(): void
  • Returns void

tryConvertSync

Static fromBase64

  • fromBase64(base64: string): Image
  • Parameters

    • base64: string

    Returns Image

Static fromBytes

  • fromBytes(bytes: number[]): Image
  • Parameters

    • bytes: number[]

    Returns Image

Static fromFile

  • Parameters

    • path: string
    • headers: Header[]

    Returns Image

Object literals

margins

margins: object

bottom

bottom: number = 0

isEmpty

isEmpty: boolean = true

left

left: number = 0

right

right: number = 0

top

top: number = 0

Generated using TypeDoc