typograph-editor-documentation
    Preparing search index...

    Class SwatchPanel

    Swatchpanel swatch selection panel Also the swatch manager (gSwatches) add, edit, remove (CRUD create, read, update and delete)

    type: SwatchPanel id: forid: element id that "calls" this panel...

    Index

    Constructors

    Properties

    container: HTMLElement
    content: HTMLElement
    dialoglayer: HTMLElement
    element_fill_stroke: HTMLElement
    element_text_fill_stroke: HTMLElement
    fill_tint_value: number
    footer_content_height: number = 33
    forid: string
    height: number = 400
    id: string
    min_control: SVGcontrol
    plus_control: SVGcontrol
    selected_swatch_index: number = -1
    stroke_tint_value: number
    swatch_color_control: Swatch_Color_Control
    swatch_content: HTMLElement
    swatch_content_height: number = 28
    swatch_fill_color: swatch_root
    swatch_height: number = 28
    swatch_stroke_color: swatch_root
    text_fill_stroke_active: boolean = false
    top_content_height: number = 43
    type: string
    width: number = 240

    Methods

    • Parameters

      • preserve_mode: boolean = false

      Returns void