ClassSegmentationService
Represents the service responsible for logical segmentation of Diagram.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
public class SegmentationService : GraphServiceBase, ISegmentationService
Inheritance: objectGraphServiceBaseSegmentationService
Implements:
Inherited Members
Constructors
SegmentationService(IGraphInternal)
Initializes a new instance of the SegmentationService class.
Declaration
public SegmentationService(IGraphInternal graph)
Parameters
graph
The graph.
Properties
IsSegmentationEnabled
Gets a value indicating whether this instance is segmentation enabled.
Declaration
public virtual bool IsSegmentationEnabled { get; }
Property Value
Implements
SegmentStep
Gets or sets the segment step.
Methods
GetShapes(Point, double)
Gets the shapes.
Declaration
public virtual IEnumerable<IShape> GetShapes(Point point, double delta)
Parameters
point
Point
The point.
delta
The delta.
Returns
Implements
GetShapes(Rect)
Gets the shapes.
Declaration
public virtual IEnumerable<IShape> GetShapes(Rect rect)
Parameters
rect
Rect
The rectangle.
Returns
Implements
MapShape(IShape)
Maps the shape.
Declaration
public virtual void MapShape(IShape shape)
Parameters
shape
The shape.
Implements
MapShape(IShape, Rect)
Maps the shape.
Declaration
public virtual void MapShape(IShape shape, Rect bounds)
Parameters
shape
The shape.
bounds
Rect
The bounds.
Implements
MapShapes(IEnumerable<IShape>)
Maps the shapes.
Declaration
public virtual void MapShapes(IEnumerable<IShape> shapes)
Parameters
shapes
The shapes.
Implements
UnmapShape(IShape)
Un-maps the shape.
Declaration
public virtual void UnmapShape(IShape shape)
Parameters
shape
The shape.
Implements