Options
All
  • Public
  • Public/Protected
  • All
Menu

A static class that implements all markers for VML and SVG using a registry. NOTE: The signatures in this class will change.

Hierarchy

  • mxMarker

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Static markers

markers: object

Maps from markers names to functions to paint the markers.

Mapping: the attribute name on the object is the marker type, the associated value is the function to paint the marker

Methods

Static addMarker

  • addMarker(type: string, funct: Function): void
  • Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.

    Parameters

    • type: string
    • funct: Function

    Returns void

Static createMarker

  • createMarker(canvas: mxAbstractCanvas2D, shape: any, type: string, pe: PointerEvent, unitX: number, unitY: number, size: number, source: any, sw: number, filled: boolean): () => void
  • Returns a function to paint the given marker. TODO: need check

    Parameters

    • canvas: mxAbstractCanvas2D
    • shape: any
    • type: string
    • pe: PointerEvent
    • unitX: number
    • unitY: number
    • size: number
    • source: any
    • sw: number
    • filled: boolean

    Returns () => void

      • (): void
      • Returns void

Generated using TypeDoc