Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PhotoSize

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { type: string; w: number; h: number; size: number }

Type declaration

  • type: string
  • w: number
  • h: number
  • size: number
CONSTRUCTOR_ID: 1976012384
SUBCLASS_OF_ID: 399256025
classType: "constructor"
className: "PhotoSize"
type: string
w: number
h: number
size: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { type: string; w: number; h: number; size: number }

Constructors

  • new PhotoSize(args: { type: string; w: number; h: number; size: number }): PhotoSize

Generated using TypeDoc