documentationfor yFiles for HTML 3.0.0.3

Usages of ViewportChanges

Properties

animatedViewportChangesin CanvasComponentGets or sets a combination of viewport changes that should be performed in an animated fashion.

Method Return Values

from (ViewportChanges)in ViewportChangesConverts the given argument to an enum constant of this enum type.

Method Parameters

getViewportAnimationDuration (Point, number, ViewportChanges)in CanvasComponentDetermines the animation duration for a viewport animation.
GraphComponent (HTMLElement, )in GraphComponentCreates a new instance of the GraphComponent in the given div element.
GraphComponent ()in GraphComponentCreates a new instance of the GraphComponent.
GraphComponent (string, )in GraphComponentCreates a new instance of GraphComponent using the div element that is specified by the selector.
from (ViewportChanges)in ViewportChangesConverts the given argument to an enum constant of this enum type.
getName (ViewportChanges)in ViewportChangesReturns the name of the given enum constant.