UNPKG

image-in-browser

Version:

Package for encoding / decoding images, transforming images, applying filters, drawing primitives on images on the client side (no need for server Node.js)

25 lines (24 loc) 661 B
/** @format */ /** * Enum representing the possible positions to expand the canvas. */ export declare enum ExpandCanvasPosition { /** Top-left corner of the canvas */ topLeft = 0, /** Top-center of the canvas */ topCenter = 1, /** Top-right corner of the canvas */ topRight = 2, /** Center-left of the canvas */ centerLeft = 3, /** Center of the canvas */ center = 4, /** Center-right of the canvas */ centerRight = 5, /** Bottom-left corner of the canvas */ bottomLeft = 6, /** Bottom-center of the canvas */ bottomCenter = 7, /** Bottom-right corner of the canvas */ bottomRight = 8 }