Class ShapeHandle<T>
public abstract class ShapeHandle<T> : HandleBase, INotifyPropertyChanged, IDisplayer, IShapeHandle, IHandle where T : class, IShape
Type Parameters
T
- Inheritance
-
ShapeHandle<T>
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ShapeHandle(T, Point)
public ShapeHandle(T shape, Point point)
Parameters
shape
Tpoint
Point
Properties
Shape
public T Shape { get; }
Property Value
- T
Methods
Commit(Point)
public override bool Commit(Point to)
Parameters
to
Point
Returns
DrawDragTo(IDrawing, Point, Action<IShape>)
public virtual void DrawDragTo(IDrawing drawing, Point to, Action<IShape> action)
Parameters
RefreshShape(Vector)
protected virtual void RefreshShape(Vector change)
Parameters
change
Vector
RefreshShape(T, Vector)
protected abstract void RefreshShape(T shape, Vector change)
Parameters
shape
Tchange
Vector