New to Telerik UI for WinFormsStart a free 30-day trial

API for Diagram Segmentation Service.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public interface ISegmentationService

Derived Classes: SegmentationService

Properties

Gets a value indicating whether this instance is segmentation enabled.

C#
bool IsSegmentationEnabled { get; }

Methods

Gets the shapes.

C#
IEnumerable<IShape> GetShapes(Point point, double delta)
Parameters:pointPoint

The point.

deltadouble

The delta.

Returns:

IEnumerable<IShape>

Gets the shapes.

C#
IEnumerable<IShape> GetShapes(Rect rect)
Parameters:rectRect

The rectangle.

Returns:

IEnumerable<IShape>

Maps the shape.

C#
void MapShape(IShape shape, Rect bounds)
Parameters:shapeIShape

The shape.

boundsRect

The bounds.

Maps the shape.

C#
void MapShape(IShape shape)
Parameters:shapeIShape

The shape.

Maps the shapes.

C#
void MapShapes(IEnumerable<IShape> shapes)
Parameters:shapesIEnumerable<IShape>

The shapes.

Un-maps the shape.

C#
void UnmapShape(IShape shape)
Parameters:shapeIShape

The shape.