Options
All
  • Public
  • Public/Protected
  • All
Menu

GoJS API

GoJS Class Index

Diagram Classes

Geometry Classes

Model Classes

Layout Classes

Tool Classes

Collection Classes

Extension Classes

Layout Extension Classes

Part Extension Classes

Tool Extension Classes

Storage Classes

Type

BrushLike : Brush | string | null

The BrushLike type is the same as Brush | string | null. A string in place of a Brush object is treated as a Solid Brush of that color.

EasingFunction : function(currentTime: number, startValue: number, byValue: number, duration: number): number

An EasingFunction describes how much to modify a scalar value based on the current time, the start value, the change in value, and the duration.

Type declaration

Key : string | number | undefined

The Key type is the same as string | number | undefined.

MarginLike : Margin | number

The MarginLike type is the same as Margin | number. A number in place of a Margin object is treated as a uniform Margin with that thickness.