documentationfor yFiles for HTML 3.0.0.3

SnapCircle

A SnapCircle represents a circle in the world coordinate system to which other items snap during interactive movements.

Inheritance Hierarchy
SnapReference
SnapCircle

Remarks

GraphSnapContext makes use of this class to interactively snap moving elements to circles. The circle can be reduced to an arc by defining valid startAngle and endAngle.

The visualization of the circle can be styled with the yfiles-snap-reference-circle CSS class.

Related Reading in the Developer's Guide

Similar to other SnapResults, the visualization can be styled with CSS. An overview of the different CSS styling options is presented in detail in the section CSS Styling Snap References .

Type Details

yFiles module
view

Constructors

Properties

Methods