Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ImageProperties

import type { ImageProperties } from "https://googleapis.deno.dev/v1/docs:v1.ts";

The properties of an image.

interface ImageProperties {
angle?: number;
brightness?: number;
contentUri?: string;
contrast?: number;
cropProperties?: CropProperties;
sourceUri?: string;
transparency?: number;
}

§Properties

§
angle?: number
[src]

The clockwise rotation angle of the image, in radians.

§
brightness?: number
[src]

The brightness effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect.

§
contentUri?: string
[src]

A URI to the image with a default lifetime of 30 minutes. This URI is tagged with the account of the requester. Anyone with the URI effectively accesses the image as the original requester. Access to the image may be lost if the document's sharing settings change.

§
contrast?: number
[src]

The contrast effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect.

§
cropProperties?: CropProperties
[src]

The crop properties of the image.

§
sourceUri?: string
[src]

The source URI is the URI used to insert the image. The source URI can be empty.

§
transparency?: number
[src]

The transparency effect of the image. The value should be in the interval [0.0, 1.0], where 0 means no effect and 1 means transparent.