Click or drag to resize
DrawingService Class
Represents drawing service.
Inheritance Hierarchy

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 class DrawingService : GraphServiceBase, 
	IDrawingService

The DrawingService type exposes the following members.

Constructors
  NameDescription
Public methodDrawingService
Initializes a new instance of the DrawingService class.
Top
Methods
  NameDescription
Public methodClearPoints
Clears the anchor and control 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.
Protected propertyGraph
Gets the graph.
(Inherited from GraphServiceBase.)
Public propertyIsDrawing
Gets a value indicating whether this instance is drawing.
Top
Events
  NameDescription
Public eventDrawing
Occurs when drawing.
Top
See Also