typograph-editor-documentation
    Preparing search index...

    Class GradiantBar

    Index

    Constructors

    • Parameters

      • type: string
      • id: string
      • width: number
      • height: number
      • update_gradient: any
      • startcolor: color
      • endcolor: color
      • gradienttype: string = 'linear'
      • dialog: Dialog = null

      Returns GradiantBar

    Properties

    bar: HTMLElement
    bar_background: HTMLElement
    endcolor: color
    gradient: HTMLElement
    gradienttype: string = 'linear'
    height: number
    id: string
    local_library: swatchlibrary = null
    rotation: number = 90
    sample_size: number = 14
    samples: SamplePatch[] = []
    startcolor: color
    type: string
    update_gradient: any
    width: number

    Methods

    • Parameters

      • pos: number
      • gb: GradiantBar
      • width: number
      • id: string
      • color: color
      • opacity: number
      • swatch_uuid: string

      Returns void