import { Shapes } from "https://deno.land/x/shapes_plus@v0.0.5.1/mod.ts";
Constructors
new
Shapes(options?: ShapesOptions)Properties
canvas: Canvas
Methods
createCircle(options?: CircleOptions): CircleReturn
createImage(options?: ImageOptions): ImageReturn
createLine(options?: LineOptions): LineReturn
createRect(options?: RectOptions): RectReturn
createRhombus(options?: RhombusOptions): RhombusReturn
createStar(options?: StarOptions): StarReturn
createText(options?: TextOptions): TextReturn
createTriangle(options?: TriangleOptions): TriangleReturn
toBuffer(mimeType?: "jpeg" | "png" | "webp", quality?: number): Uint8Array
toSave()
path: string,
mimeType?: "jpeg" | "png" | "webp",
quality?: number,