Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.8 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { EditOpOneOfOnefiveoneBottom } from './editOpOneOfOnefiveoneBottom';
import type { EditOpOneOfOnefiveoneLeft } from './editOpOneOfOnefiveoneLeft';
import type { EditOpOneOfOnefiveoneMode } from './editOpOneOfOnefiveoneMode';
import type { EditOpOneOfOnefiveoneOp } from './editOpOneOfOnefiveoneOp';
import type { EditOpOneOfOnefiveoneRight } from './editOpOneOfOnefiveoneRight';
import type { EditOpOneOfOnefiveoneTop } from './editOpOneOfOnefiveoneTop';

/**
 * Crops a picture (PowerPoint's Crop). Edges are fractions of the
original image: 0.1 crops 10% of its width (left, right) or height
(top, bottom) off that edge, 0 shows the edge, and a negative value
adds empty padding; omitted edges keep their current crop. The image
keeps its size and place on the slide, so the picture's frame moves
and resizes to the part left visible. With `mode` (and no edges), the
image is instead cropped (`fill`) or padded (`fit`) to the frame's
aspect ratio, centered, and the frame stays. To crop to a shape, use
`setGeometry` on the picture.
 */
export type EditOpOneOfOnefiveone = {
  /** Fraction of the image's height cropped off its bottom edge. */
  bottom?: EditOpOneOfOnefiveoneBottom;
  /** Fraction of the image's width cropped off its left edge. */
  left?: EditOpOneOfOnefiveoneLeft;
  mode?: EditOpOneOfOnefiveoneMode;
  op: EditOpOneOfOnefiveoneOp;
  /** Fraction of the image's width cropped off its right edge. */
  right?: EditOpOneOfOnefiveoneRight;
  /**
   * Picture id.
   * @minimum 0
   */
  shape: number;
  /**
   * Slide id.
   * @minimum 0
   */
  slide: number;
  /** Fraction of the image's height cropped off its top edge. */
  top?: EditOpOneOfOnefiveoneTop;
};