import type { MediaGroups } from "../../../shared/media-2d/types"
// needs to be in sync with block.json
// if does not have a default value in block.json, it has "?" at the end
export type AttributesCanvas2d = { 
    style?: any // "supports" may populate this with some stuff. 
    align?: 'wide'|'full'| 'left'|'center'|'right',   // support

    width?: number
    widthUnit?: string
    
    height?: number
    heightUnit?: string
    
    mediaGroups: MediaGroups

    trigger?: string // not implemented yet
    markers: boolean
    scrub: number
    triggerStart: number
    triggerEnd: number
    pin: boolean
    pinSpacing: boolean
    pinTrigger?: string // not implemented yet
    pinTriggerStart: number
    pinTriggerEnd: number
    pinMarkers: boolean
}

