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