Click or drag to resize
IDrawingService Interface
The service handling the drawing of geometry on the surface.

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core (in Telerik.Windows.Diagrams.Core.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public interface IDrawingService

The IDrawingService type exposes the following members.

Methods
  NameDescription
Public methodClearPoints
Clears the points.
Public methodCompleteDraw
Completes the draw.
Public methodCreateDrawCommand
Creates the DrawCommand that sets the new state of the Shape or reverts the old state.
Public methodCreateHandlesGeometry
Create geometry for the Path Handles in Path Tool.
Public methodCreateShapeGeometry
Creates Geometry for a shape from a given DrawingToolSegments.
Public methodDrawPoints
Draws the points.
Public methodInitializeDraw
Initializes draw action.
Public methodRemoveLastAnchorPoint
Removes the last anchor point.
Public methodRemoveLastControlPoint
Removes the last control point.
Public methodSetState
Sets the state.
Public methodStartDraw
Starts the draw.
Top
Properties
  NameDescription
Public propertyActiveShape
Gets the active shape.
Public propertyAnchorPoints
Gets the anchor points.
Public propertyControlPoints
Gets the control points.
Public propertyIsDrawing
Gets a value indicating whether this instance is drawing.
Top
Events
  NameDescription
Public eventDrawing
Occurs when drawing.
Top
Remarks
Note that this service can be customized and plugged into the ServiceLocator.
See Also