Skip to main content

CropPadFilter <TSource>

Hierarchy

Index

Constructors

constructor

Properties

enabled

enabled: boolean

kind

kind: string

name

name: string

ref

ref: string

settings

settings: { bottom?: number; left?: number; relative?: boolean; right?: number; rop?: number } = ...

Type declaration

  • optionalbottom?: number
  • optionalleft?: number
  • optionalrelative?: boolean
  • optionalright?: number
  • optionalrop?: number

source

source: TSource

Methods

getDefaultSettings

  • getDefaultSettings(): Promise<Settings>
  • Returns Promise<Settings>

remove

  • remove(): Promise<void>
  • Returns Promise<void>

setEnabled

  • setEnabled(enabled: boolean): Promise<void>
  • Parameters

    • enabled: boolean

    Returns Promise<void>

setSettings

  • setSettings(settings: { bottom?: number; left?: number; relative?: boolean; right?: number; rop?: number }, overlay?: boolean): Promise<void>
  • Parameters

    • settings: { bottom?: number; left?: number; relative?: boolean; right?: number; rop?: number }
    • overlay: boolean = true

    Returns Promise<void>