Class GobanTheme

Constructors

Properties

name: string
parent?: GobanTheme
styles: {
    [style_name: string]: string;
} = {}

Type declaration

  • [style_name: string]: string

Accessors

Methods

  • Parameters

    • ctx: CanvasRenderingContext2D
    • _shadow_ctx: null | CanvasRenderingContext2D
    • _stone: any
    • cx: number
    • cy: number
    • radius: number

    Returns void

  • Parameters

    • cell: SVGGraphicsElement
    • shadow_cell: undefined | SVGGraphicsElement
    • stone: string
    • cx: number
    • cy: number
    • radius: number

    Returns [SVGElement, undefined | SVGElement]

  • Parameters

    • cell: SVGGraphicsElement
    • shadow_cell: undefined | SVGGraphicsElement
    • stone: string
    • cx: number
    • cy: number
    • radius: number
    • shadow_circle_color: string

    Returns [SVGElement, undefined | SVGElement]

  • Parameters

    • shadow_cell: undefined | SVGGraphicsElement
    • cx: number
    • cy: number
    • radius: number
    • color: string

    Returns undefined | SVGElement

  • Parameters

    • ctx: CanvasRenderingContext2D
    • _shadow_ctx: null | CanvasRenderingContext2D
    • _stone: any
    • cx: number
    • cy: number
    • radius: number

    Returns void

  • Parameters

    • cell: SVGGraphicsElement
    • shadow_cell: undefined | SVGGraphicsElement
    • stone: string
    • cx: number
    • cy: number
    • radius: number

    Returns [SVGElement, undefined | SVGElement]

  • Parameters

    • _radius: number
    • _seed: number
    • _deferredRenderCallback: (() => void)
        • (): void
        • Returns void

    Returns any

  • Parameters

    • defs: SVGDefsElement
    • radius: number
    • _seed: number
    • _deferredRenderCallback: (() => void)
        • (): void
        • Returns void

    Returns string[]

  • Parameters

    • _radius: number
    • _seed: number
    • _deferredRenderCallback: (() => void)
        • (): void
        • Returns void

    Returns any

  • Parameters

    • defs: SVGDefsElement
    • radius: number
    • _seed: number
    • _deferredRenderCallback: (() => void)
        • (): void
        • Returns void

    Returns string[]