documentationfor yFiles for HTML 3.0.0.3

Properties

snapTypein OrthogonalSnapLineGets the type of the line that describes how other items will snap to this line.

Method Return Values

from (SnapLineSnapTypes)in SnapLineSnapTypesConverts the given argument to an enum constant of this enum type.

Method Parameters

OrthogonalSnapLine (SnapLineOrientation, SnapLineSnapTypes, SnapReferenceVisualizationType, Point, boolean, number, GraphItemTypes?, any?)in OrthogonalSnapLineCreates a new snap line using the provided attributes.
OrthogonalSnapLine (SnapLineOrientation, SnapLineSnapTypes, SnapReferenceVisualizationType, Point, number, number, boolean, number, GraphItemTypes?, any?)in OrthogonalSnapLineCreates a new snap line using the provided attributes.
collectReshapeSnapResult (CollectSnapResultsEventArgs, ReshapeRectangleContext, IModelItem, Rect, SnapLineSnapTypes)in OrthogonalSnapLineCalculates a valid SnapResult that snaps the side of a reshaped rectangle described by the snapType to this orthogonal line.
collectSegmentSnapResult (CollectSnapResultsEventArgs, IModelItem, number, number, number, SnapLineSnapTypes)in OrthogonalSnapLineCalculates a valid SnapResult that snaps the orthogonal segment defined by the given parameters to this orthogonal line.
collectReshapedSideSnapResult (CollectSnapResultsEventArgs, ReshapeRectangleContext, IModelItem, Rect, SnapLineSnapTypes)in SnapGridCalculates a valid SnapResult that snaps the side of a reshaped rectangle described by the snapType to a grid line.
from (SnapLineSnapTypes)in SnapLineSnapTypesConverts the given argument to an enum constant of this enum type.
getName (SnapLineSnapTypes)in SnapLineSnapTypesReturns the name of the given enum constant.