Interface
ISegmentationService

API for Diagram Segmentation Service.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
public interface ISegmentationService

Properties

IsSegmentationEnabled

Gets a value indicating whether this instance is segmentation enabled.

Declaration

cs-api-definition
bool IsSegmentationEnabled { get; }

Property Value

bool

Methods

GetShapes(Point, double)

Gets the shapes.

Declaration

cs-api-definition
IEnumerable<IShape> GetShapes(Point point, double delta)

Parameters

point

Point

The point.

delta

double

The delta.

Returns

IEnumerable<IShape>

GetShapes(Rect)

Gets the shapes.

Declaration

cs-api-definition
IEnumerable<IShape> GetShapes(Rect rect)

Parameters

rect

Rect

The rectangle.

Returns

IEnumerable<IShape>

MapShape(IShape)

Maps the shape.

Declaration

cs-api-definition
void MapShape(IShape shape)

Parameters

shape

IShape

The shape.

MapShape(IShape, Rect)

Maps the shape.

Declaration

cs-api-definition
void MapShape(IShape shape, Rect bounds)

Parameters

shape

IShape

The shape.

bounds

Rect

The bounds.

MapShapes(IEnumerable<IShape>)

Maps the shapes.

Declaration

cs-api-definition
void MapShapes(IEnumerable<IShape> shapes)

Parameters

shapes

IEnumerable<IShape>

The shapes.

UnmapShape(IShape)

Un-maps the shape.

Declaration

cs-api-definition
void UnmapShape(IShape shape)

Parameters

shape

IShape

The shape.