Type Alias InsetPadding

InsetPadding: {
    bottom: number;
    left: number;
    right: number;
    top: number;
    type: "pixel" | "portion";
}

Type declaration

  • bottom: number
  • left: number
  • right: number
  • top: number
  • type: "pixel" | "portion"

    The type of padding to use. If 'portion', the padding will be a portion of the canvas size. If 'pixel', the padding will be in pixels.

    'pixel'